mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
ANDROID: power_supply: Update power_supply enums
Rename POWER_SUPPLY_CHARGE_TYPE_TAPER to POWER_SUPPLY_CHARGE_TYPE_TAPER_EXT Bug: 168244640 Signed-off-by: Wasb Liu <wasbliu@google.com> Change-Id: I1ebd3daf79902c873212b9ba8de7a5930d648bae Signed-off-by: Will McVicker <willmcvicker@google.com>
This commit is contained in:
@@ -89,7 +89,7 @@ static const char * const POWER_SUPPLY_CHARGE_TYPE_TEXT[] = {
|
||||
[POWER_SUPPLY_CHARGE_TYPE_ADAPTIVE] = "Adaptive",
|
||||
[POWER_SUPPLY_CHARGE_TYPE_CUSTOM] = "Custom",
|
||||
[POWER_SUPPLY_CHARGE_TYPE_LONGLIFE] = "Long Life",
|
||||
[POWER_SUPPLY_CHARGE_TYPE_TAPER] = "Taper",
|
||||
[POWER_SUPPLY_CHARGE_TYPE_TAPER_EXT] = "Taper",
|
||||
};
|
||||
|
||||
static const char * const POWER_SUPPLY_HEALTH_TEXT[] = {
|
||||
|
||||
@@ -54,7 +54,7 @@ enum {
|
||||
* force to 50 to minimize the chances of userspace binary
|
||||
* incompatibility on newer upstream kernels
|
||||
*/
|
||||
POWER_SUPPLY_CHARGE_TYPE_TAPER = 50, /* charging in CV phase */
|
||||
POWER_SUPPLY_CHARGE_TYPE_TAPER_EXT = 50, /* charging in CV phase */
|
||||
};
|
||||
|
||||
enum {
|
||||
|
||||
Reference in New Issue
Block a user