diff options
author | lokilee73 <changjoo.lee@samsung.com> | 2020-06-25 11:13:26 +0900 |
---|---|---|
committer | lokilee73 <changjoo.lee@samsung.com> | 2020-06-25 11:13:33 +0900 |
commit | 69aedcaeccfb8624fe1bf79c357f1cf4ce545c70 (patch) | |
tree | c674a87120be26c6d0f59d53b75ceca3cf445956 | |
parent | ed676213573380022833b918ba7b17ef300df96d (diff) | |
download | device-manager-plugin-emul-69aedcaeccfb8624fe1bf79c357f1cf4ce545c70.tar.gz device-manager-plugin-emul-69aedcaeccfb8624fe1bf79c357f1cf4ce545c70.tar.bz2 device-manager-plugin-emul-69aedcaeccfb8624fe1bf79c357f1cf4ce545c70.zip |
Fix dbus_get_battery_info for info.temperature / 10submit/tizen/20200626.071257accepted/tizen/unified/20200626.133402
(Before)
device_battery_get_property(DEVICE_BATTERY_PROPERTY_TEMPERATURE=286
device_thermal_get_temperature(DEVICE_THERMAL_BATTERY=28
(After)
device_battery_get_property(DEVICE_BATTERY_PROPERTY_TEMPERATURE=28
device_thermal_get_temperature(DEVICE_THERMAL_BATTERY=28
Change-Id: Ia5afcd778a2bf0c1621376db6b7d4e787474379b
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
-rw-r--r-- | hw/battery/battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/battery/battery.c b/hw/battery/battery.c index 184cee0..f4ef137 100644 --- a/hw/battery/battery.c +++ b/hw/battery/battery.c @@ -238,7 +238,7 @@ static int battery_get_current_state( info.voltage_now = 4000000; info.voltage_average = 4000000; - info.temperature = 300; + info.temperature = 30; ret = get_power_source(info.online, &val); if (ret < 0) |