Search notes:
/sys/class/power_supply/BAT0/capacity
Apparently, this »file« shows the percentage of the fullness of a laptop's battery.
Watching the battery getting charged:
$
watch
--interval=5 cat /sys/class/power_supply/BAT0/capacity
See also
Battery status
/sys/class/power_supply/BAT0
Index