Linux's power_supply class supports a temperature attribute, which is supported by many battery drivers. Add a new property to export this information and support this property in Linux.
https://bugs.freedesktop.org/show_bug.cgi?id=68338
eaf8648 Add temperature property for batteries
libupower-glib/up-device.c | 24 ++++++++++++++++++++++++
src/linux/up-device-supply.c | 6 ++++++
src/org.freedesktop.UPower.Device.xml | 13 +++++++++++++
src/up-device.c | 16 ++++++++++++++++
4 files changed, 59 insertions(+)
Upstream: cgit.freedesktop.org