Njanderson / resmon

Displays resource utilization in the VSCode status bar.
81 stars 22 forks source link

Show "N/A" if no battery available #24

Closed letmaik closed 4 years ago

letmaik commented 4 years ago

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.

Njanderson commented 4 years ago

Moving to not displaying it instead if no battery is detected.