Currently, if the system has no battery, then "0%" is shown. systeminformation has si.hasbattery which should be queried to check whether a battery is available, and if not, show "N/A". Automatic hiding of the battery indicator would probably be even more useful.
Currently, if the system has no battery, then "0%" is shown. systeminformation has
si.hasbattery
which should be queried to check whether a battery is available, and if not, show "N/A". Automatic hiding of the battery indicator would probably be even more useful.