0
How to use navigator.getBattery?
I want to get battery percentage using navigator.getBattery but doesn't know it's syntax can anyone help me?
3 RĂ©ponses
+ 5
Ipang useful link sir đđ
+ 4
MDN says it is deprecated
https://developer.mozilla.org/en-US/docs/Web/API/Battery_Status_API