summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunmi Ha <yunmi.ha@samsung.com>2020-08-05 07:15:26 (GMT)
committerYunmi Ha <yunmi.ha@samsung.com>2020-08-05 07:15:26 (GMT)
commit8a4cb1590301ed1cb9465498bd4e8e102b2c12ef (patch)
treec8e0176d14c36f938050d45e1cb2eb4f8de5a3f4
parent53596ac3de009110a9df9913c2416ebf262e8ca8 (diff)
downloadlibdevice-node-tizen_5.5.zip
libdevice-node-tizen_5.5.tar.gz
libdevice-node-tizen_5.5.tar.bz2
battery.temperature /10 Change-Id: I8da3a9045bc127a696655adeb06ca94ada6cb5cc Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
-rw-r--r--battery-plugin/battery-plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/battery-plugin/battery-plugin.c b/battery-plugin/battery-plugin.c
index 9770378..0944d07 100644
--- a/battery-plugin/battery-plugin.c
+++ b/battery-plugin/battery-plugin.c
@@ -83,7 +83,7 @@ static void battery_get_info(struct battery_info *info, void *data)
bat->capacity = info->capacity;
bat->current_now = info->current_now;
bat->current_average = info->current_average;
- bat->temperature = info->temperature;
+ bat->temperature = info->temperature / 10;
bat->voltage_now = info->voltage_now;
bat->voltage_average = info->voltage_average;
}