Sprawdź status baterii na maszynie użytkownika

navigator.getBattery().then((battery) => {
    console.log(battery)
})
Abhishek