Skip to content
Julien edited this page Jun 11, 2020 · 2 revisions

Useful snippets to get system information

  • Battery: cat /sys/class/power_supply/BAT1/capacity
  • Temperatures: cat /sys/class/thermal/thermal_zone0/temp and possibly more zones
Clone this wiki locally