-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
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
rubenmiq, MaksymRybak, woubuc, kuausonho, Lopox94 and 2 more