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
Numerous changes for initial bring-up:
- Add pure AOSP handling to libhealthd.msm
- Update to new ReadArgs() API in librecovery_updater_msm
- Temporarily disable common device overlay
- Switch qcom_diag AID to diag
Change-Id: I76892dfa6da6cf3e9ce6e96733f1f1057b5c1f83
Current implementation of "get_blink_led_for_hvdcp" returns error
in case if write operation fails for any LED. Fix the logic to try
for all LEDs before returning error.
CRs-Fixed: 1068216
Change-Id: Iec836bd999997fd713a5eebde5a117f49b79de37
There is a requirement to store battery parameters when the
system is running so that they may be restored when the system
boots up especially when the battery is removed and re-inserted.
Add support for it.
While at it, cleanup the code to reduce some redundancy. Also,
add a separate tag (healthd_msm) for printing logs from
libhealthd.msm during android mode.
CRs-Fixed: 1018233
Change-Id: I15439282c133ac92568bc7ff7750ab1b268cbb02
The battery capacity reporting from battery power_supply could be a
default value before BMS initialization done. This causes an incorrect
battery capacity being showed up at the beginning frames of off-mode
charging. Check whether the soc reporting is ready before entering into
off-mode charging.
CRs-Fixed: 1042133
Change-Id: I35d9308dc56d7d4acfbad74ddccd53a64afb53ce
Changes to bring-up tree on new release. Some permanent
and some temporary until all modules are in place.
Change-Id: I72ac646012d03f9442313d08a7879a55e789d1d3
Charging Led blinking only allowed when battery SoC between
15% to 90% and HVDCP charger inserted.
Change-Id: I5b601b3487164c46e80bc309b2938dd025754734
Few APIs are provided in the libhealthd library as the supplement of
off-mode charging, it includes:
1) Draw battery status on the animation;
2) Update leds upon battery status change;
3) Handle charging disabled;
Change-Id: Ifa42ccec70e4f3e7b20fda5ce3f33dc41252a440