Created
April 6, 2018 13:47
-
-
Save denisshevchenko/109df1408e194e783f933fc820daac68 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /sys/class/thermal/thermal_zone*/temp | |
echo "`cat /sys/class/power_supply/BAT0/energy_now` / `cat /sys/class/power_supply/BAT0/energy_full` * 100" | |
acpi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment