summaryrefslogtreecommitdiffstats
path: root/charger/healthd_board_cm.cpp
Commit message (Collapse)AuthorAgeFilesLines
* cm: charger: Center capacity and vertical offsetMichael W2016-09-031-5/+8
| | | | | | | * What the title says :). Looks way better * Use half a vertical font size as offset Change-Id: I3e5cc039932a1016d419c4dbe5af5f7673631733
* cm: charger: Export the RTC Clock and Alarm timestampsAdrian DC2016-08-141-0/+2
| | | | | | | | * Gives easy access to the RTC values in order to verify or debug the current status of the RTC clock and alarm, for example if a user says powered-off alarm doesn't work Change-Id: I47e71433a53a25fe9880e7be6a1f5bdb1105ef78
* cm: charger: Add support for double backlight displaysAdrian DC2016-08-141-0/+40
| | | | | | | | | | | | | | | | | | | * Some devices using AMS AS36xx LEDs controllers are using 2 backlight paths to light the display, mostly on Sony Huashan and Sony Blue board devices * Although most of the displays have interlaced backlights and the half dark path can be hard to see, other displays have a top / bottom path that make half the screen on / off * Control the backlight level of both path if the device does have BACKLIGHT_PATH set, and if present, SECONDARY_BACKLIGHT_PATH * Leave the HEALTD_BACKLIGHT_LEVEL config accessible to override the default 100 / 255 brightness used in healthd Change-Id: If774c3e66acedddf7ba676581e7c88b7e83a66b6 Signed-off-by: Adrian DC <radian.dc@gmail.com>
* cm: Add custom off-mode charging screenSteve Kondik2016-08-141-0/+374
* Moving this to open-source from CyanogenOS :) * Thanks to Chao Chen, Ethan Chen, Pat Erley, Scott Mertz, and Keith Mok for various contributions to this. Change-Id: If79f9c279668d14ee0cde62889bb09e7185ef08c