Please can anyone tell me how to turn on battery saver of a phone with battery api | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Please can anyone tell me how to turn on battery saver of a phone with battery api

Android, thanks

7th Jul 2020, 10:30 PM
Goke Ekundayo
Goke Ekundayo - avatar
5 Answers
8th Jul 2020, 11:59 AM
Iwalewa Fawaz
Iwalewa Fawaz - avatar
+ 8
Thanks, but that is for getting d battery level, i need to know how to access the battery saver of a phone with javascript and turn it on, thanks though bro
8th Jul 2020, 9:52 AM
Goke Ekundayo
Goke Ekundayo - avatar
+ 8
Thxs bro
8th Jul 2020, 12:29 PM
Goke Ekundayo
Goke Ekundayo - avatar
+ 3
It's in navigator(.batteryLevel), I think
8th Jul 2020, 9:20 AM
botboss
botboss - avatar
+ 2
You're welcome bro
8th Jul 2020, 12:31 PM
Iwalewa Fawaz
Iwalewa Fawaz - avatar