diff options
author | Steve Kondik <steve@cyngn.com> | 2015-10-21 16:58:22 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-10-21 16:58:22 -0700 |
commit | 4b98704a97a3504f3385b9e804e4a7e4cc6bb8c1 (patch) | |
tree | 9b256527143a988c832ccac25bbbe468f123aa54 /healthd/healthd.h | |
parent | 8db4c0c64b13ce29b5e2fc8e2ce1822256356e41 (diff) | |
parent | f10412c2d00547b82d26461c71a032d083562e5d (diff) | |
download | system_core-4b98704a97a3504f3385b9e804e4a7e4cc6bb8c1.zip system_core-4b98704a97a3504f3385b9e804e4a7e4cc6bb8c1.tar.gz system_core-4b98704a97a3504f3385b9e804e4a7e4cc6bb8c1.tar.bz2 |
Merge branch 'm' of git://codeaurora.org/platform/system/core into cm-13.0
Diffstat (limited to 'healthd/healthd.h')
-rw-r--r-- | healthd/healthd.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/healthd/healthd.h b/healthd/healthd.h index 3ca1953..0b2a16e 100644 --- a/healthd/healthd.h +++ b/healthd/healthd.h @@ -155,4 +155,20 @@ void healthd_board_init(struct healthd_config *config); int healthd_board_battery_update(struct android::BatteryProperties *props); +//This API is called to turn on/off the display backlight incase it can't be +//handle correcty in the display driver by calling gr_fg_blank(); +void healthd_board_mode_charger_set_backlight(bool en); + +//This API is called to update the battery/charging status by using the user +//noticeable method other then the animation, such as: LEDs +void healthd_board_mode_charger_battery_update(struct android::BatteryProperties *batt_prop); + +//This API is used to handle some board specific charger mode initialization, +//such as: checking the charging is enabled or not. +void healthd_board_mode_charger_init(void); + +//This API is called in the draw_battery() function to draw more infomation +//about the battery on the animation, such as the SoC (State of Charge). +void healthd_board_mode_charger_draw_battery(struct android::BatteryProperties *batt_prop); + #endif /* _HEALTHD_H_ */ |