John Spurlock
8d4e6cb060
Saver: PowerManager call to set low power mode.
...
- Add an explicit power manager call to set the low power mode state,
instead of trying manage everything around a single setting.
- When low-power mode is triggered by falling below the configured
threshold, it does not update the setting.
- The "is-enabled" api returns setting || below configured trigger.
- Move the snooze management into the new api call.
- Callers (sysui + settings) updated to use the api instead of the
setting.
- Handles the case where the level does an unpowered leap out of the
low battery level. (Possible if powered in-between while the device
is off)
Bug:17460535
Change-Id: Ic030504c9cad9868a7137abbe837b170da37852b
2014-09-14 14:07:23 -04:00
..
2014-09-02 18:26:32 +00:00
2014-02-25 14:52:23 -08:00
2014-07-01 09:03:10 +00:00
2014-06-05 18:10:46 -07:00
2014-06-17 18:20:42 -07:00
2013-07-25 02:13:49 +00:00
2014-02-25 13:20:07 -08:00
2013-08-22 03:12:21 +00:00
2014-06-05 18:10:46 -07:00
2014-09-05 17:33:06 -07:00
2014-01-23 16:25:19 +00:00
2014-02-25 09:49:29 -05:00
2014-09-04 14:50:26 -07:00
2014-09-05 09:07:35 -07:00
2013-06-21 18:43:17 -07:00
2014-04-28 13:53:25 -07:00
2013-11-20 11:31:47 -05:00
2014-04-28 11:11:32 -07:00
2014-01-30 13:46:44 +00:00
2014-05-06 00:01:18 +00:00
2013-11-20 11:31:47 -05:00
2014-06-05 17:56:58 +00:00
2014-01-16 11:24:58 -08:00
2014-09-08 09:31:49 -07:00
2013-11-20 11:31:47 -05:00
2014-07-08 00:38:57 -07:00
2014-06-28 14:26:02 -07:00
2013-04-18 19:04:39 -07:00
2013-07-25 02:13:49 +00:00
2013-08-22 03:12:21 +00:00
2013-11-20 11:31:47 -05:00
2012-11-07 10:27:31 -08:00
2014-02-28 15:19:39 -08:00
2014-08-29 10:21:58 -07:00
2014-09-14 14:07:23 -04:00
2014-09-10 17:15:06 -07:00
2014-07-19 11:57:51 -04:00
2014-03-03 15:36:36 -08:00
2014-04-08 16:14:10 +01:00
2014-09-05 17:50:47 -07:00
2014-03-03 15:36:36 -08:00
2014-07-19 11:57:51 -04:00
2014-09-12 14:23:58 -07:00
2014-05-08 13:58:13 -07:00
2013-05-07 15:05:09 -07:00
2014-04-28 13:53:25 -07:00
2014-07-22 00:03:39 +00:00
2014-05-30 13:14:44 -07:00
2014-09-14 14:07:23 -04:00
2014-07-22 01:18:26 +00:00
2014-09-08 13:07:59 -07:00
2014-08-12 10:20:00 -07:00
2013-11-20 11:31:47 -05:00
2013-11-20 11:31:47 -05:00
2013-08-23 18:36:33 +00:00
2014-05-14 18:12:24 -07:00
2014-07-08 00:38:57 -07:00
2014-04-28 11:11:32 -07:00
2014-03-13 16:07:17 +00:00
2014-02-21 09:53:19 -08:00
2013-11-20 11:31:47 -05:00
2013-11-20 11:31:47 -05:00
2014-07-19 11:57:51 -04:00
2012-11-07 10:27:31 -08:00
2014-08-16 01:21:41 +00:00
2012-10-10 21:46:55 -07:00
2012-09-26 10:49:35 -07:00
2014-09-03 13:17:28 -07:00
2014-09-12 15:43:42 +01:00
2014-07-20 20:58:47 +00:00
2013-09-23 16:01:08 -07:00