summaryrefslogtreecommitdiff
path: root/CREDITS
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-11-16 17:23:47 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-13 10:07:13 +0100
commita7e728f9bb0db3cfd53198f66e18b55b803af193 (patch)
tree5d8dd0fde44f4243041da5e4cc23668494839780 /CREDITS
parent6ca24838257befa3879e43b2607dd8ee7a9c2cc4 (diff)
power: supply: olpc_battery: correct the temperature units
commit ed54ffbe554f0902689fd6d1712bbacbacd11376 upstream. According to [1] and [2], the temperature values are in tenths of degree Celsius. Exposing the Celsius value makes the battery appear on fire: $ upower -i /org/freedesktop/UPower/devices/battery_olpc_battery ... temperature: 236.9 degrees C Tested on OLPC XO-1 and OLPC XO-1.75 laptops. [1] include/linux/power_supply.h [2] Documentation/power/power_supply_class.txt Fixes: fb972873a767 ("[BATTERY] One Laptop Per Child power/battery driver") Cc: stable@vger.kernel.org Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions