Thread: Pants on Fire
View Single Post
Posts: 48 | Thanked: 32 times | Joined on Dec 2010 @ Russia, Moscow
#31
You can easily do this with Desktop Command Execution Widget.

The command will be:

Code:
echo $(cat /sys/class/power_supply/bq27200-0/temp)°C
And yeah, you must enable (if not yet) bq27x00_battery module to make this command work

Code:
echo bq27x00_battery >> /etc/modules