Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

battery status check on user machine

navigator.getBattery().then((battery) => {
    console.log(battery)
})
 
PREVIOUS NEXT
Tagged: #battery #status #check #user #machine
ADD COMMENT
Topic
Name
5+2 =