Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit df4e0843 authored by Jeehong Kim's avatar Jeehong Kim Committed by Greg Kroah-Hartman
Browse files

FROMLIST: power: add "Wireless" to power_supply_type and power_supply_type_text



In android platform(BatteryMonitor.cpp), SysfsStringEnumMap<int>
supplyTypeMap[] is declred for communication with kernel(sysfs)
and there is "Wireless". But, no type for "Wireless" in kernel.
So, we suggest to add "Wireless" to power_supply_type and
power_supply_type_text to use "Wireless" on android platform.
This will help ensure that text values are kept in sync with
BatteryMonitor.cpp.

Bug: 160750558

Signed-off-by: default avatarDo Hyoung Kim <dh0703.kim@samsung.com>
Signed-off-by: default avatarJeehong Kim <jhez.kim@samsung.com>
Link: https://lore.kernel.org/lkml/20200730000946.15327-1-jhez.kim@samsung.com/T/#u
Change-Id: I486bef98ac785d6352370b8e9c4865ed2351f6d4
parent ea0bb61d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment