* Display charging level in percent and update
graphics for it
* Use lineage teal as the main color and red
for low charging level
* Update battery fail to match new style
* Define battery fail file to actually use
our custom image
Change-Id: I6907da5116f6bbd1788902b177ed999c1568815c
Signed-off-by: Chippa-a <bagirovvusal99@gmail.com>
minui supports only <= 8-bit PNGs.
On my machine battery_fail was being encoded
using 24-bits and charger was freaking out :(
Change-Id: I2f63548ba102f49485c43268389f1cdd5e50802d
Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
Add a new charger as a possible replacement for the AOSP charger.
Co-Authored-By: Tim Zimmermann <tim@linux4.de>
Change-Id: Icdf7ad770bb353f082759b76fd4e58910e8d72e3
- Been broken since a while. I don't see any devices using it as well.
Most devices have explicitly set it to false instead.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I178ecd5213bc0c99f97cbbd9c41fd648598edd77
Change-Id: If184d3e3c5e4545e8baba665366b59390718ac02
Signed-off-by: Christopher N. Hesse <raymanfx@gmail.com>
(cherry picked from commit 70e7015d73b8fdd5258732863012f7b06d8347f5)
Oreo doesn't allow usage of the old alarm interface anymore, so
simply remove it and switch to timerfd. Also update the timerfd
interface from CAF O release
Change-Id: I22fc00630072cbf18976239dc039bf2135946045
* Required to access android-base/unique_fd.h
* Includes following commit from CAF device/qcom/common
healthd: Add include path for minui.h
The minui.h header file path has changed such that it
now resides within recovery/minui/include. Update the
healthd makefile to reflect this
Change-Id: I4ed371156b075f5b96404480b3703f113003979b
Change-Id: I60bc31ecaa07dad40b37265ded37d64b492bd029
* Load the correct font to display the capacity in appropriate size
* Fall back to gr_sys_font() in case it can't be loaded
Change-Id: I7a05be70da3b8f0cf2895e844dfc29d66d5dbab1
Number of frames comes first; frames per second comes after.
This fixes commit 7d2b6d238b.
Change-Id: I06218a01242a327cbb9be08d3efbb3d1e4cbb217
Issue-Id: LINN-11
* 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
* 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>
* 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