platform_system_core/healthd
Todd Poynor 3db03a5ab0 healthd: Set fixed battery level and temperature via properties
setprop persist.sys.battery.capacity 77
setprop persist.sys.battery.temperature 123

and reboot to cause a fixed battery level of 77% and temperature of 12.3C
to be reported to Android.

Typically used on power evaluation boards without batteries connected.

Bug: 14839868
Change-Id: Ibae5e16429d05891cb0787d74a2fe93b07013699
2014-05-22 01:56:15 +00:00
..
images remove pixelflinger from healthd 2014-03-11 12:25:41 -07:00
Android.mk healthd: Turn on -Werror 2014-05-15 15:46:15 -07:00
BatteryMonitor.cpp healthd: Set fixed battery level and temperature via properties 2014-05-22 01:56:15 +00:00
BatteryMonitor.h healthd: Set fixed battery level and temperature via properties 2014-05-22 01:56:15 +00:00
BatteryPropertiesRegistrar.cpp healthd: Turn on -Werror 2014-05-15 15:46:15 -07:00
BatteryPropertiesRegistrar.h healthd: BatteryService dumpstate support 2013-10-22 16:32:54 -07:00
healthd.cpp healthd: Add hooks for ENERGY_COUNTER property 2014-05-20 16:26:48 -07:00
healthd.h healthd: Add hooks for ENERGY_COUNTER property 2014-05-20 16:26:48 -07: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 healthd: fix warnings 2014-05-15 17:49:06 -07:00