rsteckler / unbounce-android

Take control of your battery life by limiting wakelocks and alarms
MIT License
126 stars 45 forks source link

Disable Unbounce when screen on or charging #62

Closed rsteckler closed 9 years ago

rsteckler commented 9 years ago

Have option (either global or per wakelock/alarm) to disable unbouncing when the screen is on and/or device is charging. Wakelocks don't matter when the screen is on anyway (or charging) and some functions such as navigation/location and syncing may be better served by not unbouncing when screen is on.


rsteckler commented 9 years ago

This is addressed in 1.1.8 via Tasker plugin integration


Original Comment By: Ryan Steckler

rsteckler commented 9 years ago

Please re-read the request, I think you may have misinterpreted it. I am saying when either charging or when the screen is on, have the Unbounce app do nothing (via an option) vs. potentially throttling the wakelock/alarm.


Original Comment By: Tom Wilkason

rsteckler commented 9 years ago

When the screen is on, the device is awake, therefore there is no purpose in allowing a wake lock. Most devices are also awake when charging, due to an existing wakelock. Again, since it is awake, there is no point in allowing a wake lock.

Some devices do NOT stay awake when charging. This change would have a negative impact on these devices since it would keep them awake when they could otherwise sleep.


Original Comment By: