Battery display works on Ubuntu.

It checks the battery in /sys/class/power_supply/BAT0/
This might not work on other versions of GNU/Linux.