platform_system_core/healthd
Ruchi Kandoi 42a981ddee healthd: Adds fake battery properties for devices with no battery.
Devices which have no battery and are always plugged in will not have
any battery property initialized. This causes the 'stable power' to
never be switched which is required for updating apps.

This change recognizes such a device and manually sets the battery to
100% and charger status to connected to AC mains. It will also fake the
battery temperature.

Bug: 24258855
Change-Id: I98e5ed0dbeb7f2ab6d3802cd7e0f3a269bd8f31f
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2015-10-12 14:31:58 -07:00
..
images remove pixelflinger from healthd 2014-03-11 12:25:41 -07:00
Android.mk Remove obsolete BUILD_TINY_ANDROID check from healthd makefile 2015-01-24 04:26:16 +00:00
BatteryMonitor.cpp healthd: Adds fake battery properties for devices with no battery. 2015-10-12 14:31:58 -07:00
BatteryMonitor.h healthd: Adds fake battery properties for devices with no battery. 2015-10-12 14:31:58 -07:00
BatteryPropertiesRegistrar.cpp Update calls to IInterface::asBinder() 2014-11-17 10:06:42 -08:00
BatteryPropertiesRegistrar.h healthd: BatteryService dumpstate support 2013-10-22 16:32:54 -07:00
healthd.cpp am 38c3386a: resolved conflicts for merge of 03be4928 to lmp-mr1-dev-plus-aosp 2014-11-25 20:03:41 +00:00
healthd.h Charger: Add a Charger to Android transition threshold 2014-10-22 22:01:07 +00:00
healthd_board_default.cpp Cleanup: warning fixit. 2014-04-11 16:15:46 -07:00
healthd_mode_android.cpp healthd: Turn on -Werror 2014-05-15 15:46:15 -07:00
healthd_mode_charger.cpp resolved conflicts for merge of 6e9b28b2 to master 2015-04-15 12:15:00 -07:00