Srihari Sathyanarayana 2d2ff4b594 Sol led: Handle power supply states
Handle power-supply states for Charging/Discharging
Set blink/solid Led settings as below

LED Brighness depend on Device Charging State
----------------------------------------------
-- Full while Device Charging
-- Half Brighness while not Charging

Led Functional Mode Depend on the Battery capacity
--------------------------------------------------
Battery Level < LOW_CAP_THRESHOLD_DEFAULT
-- Fast Blink "charging_low" led node(s)

LOW_CAP_THRESHOLD_DEFAULT < Battery Level < BATT_CAP_THRESHOLD_HIGH
-- Slow Blink "charging" led node(s) (If device charging)
-- Enable Solid 50% brightness for "charging" led node(s) (If device not charging)

BATT_CAP_THRESHOLD_HIGH < Battery Level < BATT_CAP_THRESHOLD_FULL
-- Slow Blink "charging_full" led node(s) (If device charging)
-- Enable Solid 50% brightness for "charging_full" led node(s) (If device not charging)

Battery Level ==  BATT_CAP_THRESHOLD_FULL
-- Enable Solid 100% brightness for "charging_full" led node(s)

Change-Id: I0abf35ea5ee51ade808ac196d8e56d7dcac33d9c
Signed-off-by: Srihari Sathyanarayana <sriharis@motorola.com>
Signed-off-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-on: https://gerrit.mot.com/2516362
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Perry White <awhite6@motorola.com>
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2023-02-28 01:30:57 -06:00
S
Description
Android Kernel for Motorola Moto G52 (sm6225) — Nethunter Release
2 GiB
0 Stars 1 Watchers 0 Forks