Show an icon with the battery level in the taskbar.
I think, this should be done with a separate program, hooking into the taskbar.
We can use the Battery Status API. It's currently supported by 72,5% of users. https://caniuse.com/battery-status
We have to check if we're even on battery and if the browser supports the Battery Status API, else don't display a battery icon.
Show an icon with the battery level in the taskbar.
I think, this should be done with a separate program, hooking into the taskbar.
We can use the Battery Status API. It's currently supported by 72,5% of users. https://caniuse.com/battery-status
We have to check if we're even on battery and if the browser supports the Battery Status API, else don't display a battery icon.