View Single Post
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#159
Originally Posted by niqbal View Post
with kernel v47 use this instead

Code:
awk '{ print $1/10}' </sys/class/power_supply/bq27200-0/temp
Just added °C to the end to make it complete

Code:
awk '{ print $1/10 " °C"}' </sys/class/power_supply/bq27200-0/temp
 

The Following User Says Thank You to mr_pingu For This Useful Post: