Skip to content

Power Mode #79

@xzilja

Description

@xzilja

Plugin Request

Name: power-mode
Package: @capacitor-community/power-mode

Platform(s)

ios, android

Existing Solutions

Not aware of any

Description

iOS and Android devices can be put into low power / battery saver mode. It would be useful to have access / subscribe to this information in order to avoid doing power intensive tasks. Also, requestAnimationFrame is throttled to 30fps in this case, so I think it is important to give users an ability to do something in these cases i.e. notify users to why they are seeing throttled performance. This info is not available in web apis

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions