Re:This page knows your battery charge level (unless you're ...
by zimpenfish on Saturday November 25, 2023 @04:21PM
(#38416785)
Doesn't seem to work on Safari (desktop or mobile) - I just get the continuous blue animation. Chrome on macOS did report the correct battery level though.
[ Parent
| on HN ]
Re:This page knows your battery charge level (unless you're ...
by chipotle_coyote on Saturday November 25, 2023 @04:26PM
(#38416823)
Yes, I think the correct headline is "This page knows your battery charge level if you're using Chrome or most Chrome-based browsers". (I'm not sure if it works on all of them, although it does work on Arc.)
Re:This page knows your battery charge level (unless you're ...
by elliotec on Saturday November 25, 2023 @04:34PM
(#38416894)
Doesn’t work on brave.
Re:This page knows your battery charge level (unless you're ...
by bonestamp2 on Saturday November 25, 2023 @04:42PM
(#38416968)
Works on brave for me. Any idea what setting prevents this?
Re:This page knows your battery charge level (unless you're ...
by silisili on Saturday November 25, 2023 @05:14PM
(#38417232)
Brave for Android here. It justs reports that it's charging and 100%, neither of which are true. No extensions or weird settings.
Re:This page knows your battery charge level (unless you're ...
by rcostin2k2 on Saturday November 25, 2023 @05:24PM
(#38417317)
Neither on Brave / Windows 11 (notebook)
Re:This page knows your battery charge level (unless you're ...
by k8sToGo on Saturday November 25, 2023 @04:54PM
(#38417076)
Not having a battery
Re:This page knows your battery charge level (unless you're ...
by andygeorge on Saturday November 25, 2023 @06:27PM
(#38417751)
Conveniently blocks all APIs
Re:This page knows your battery charge level (unless you're ...
by henriquez on Saturday November 25, 2023 @06:41PM
(#38417865)
Checkmate liberals
Re:This page knows your battery charge level (unless you're ...
by elliotec on Saturday November 25, 2023 @04:58PM
(#38417105)
Do you have shields on?
Re:This page knows your battery charge level (unless you're ...
by bonestamp2 on Saturday November 25, 2023 @04:59PM
(#38417113)
Yes, it says Shields are up for that page (the default until you say otherwise as far as I know). Fingerprint blocking is on. I disabled all cookies and it still works. I tried Safari and it is not working there. Pretty strange. v1.60.118
Re:This page knows your battery charge level (unless you're ...
by rpastuszak on Saturday November 25, 2023 @04:39PM
(#38416940)
Does brave employ any anti fingerprinting measures?
Re:This page knows your battery charge level (unless you're ...
by goryramsy on Saturday November 25, 2023 @04:41PM
(#38416956)
Yes.
Re:This page knows your battery charge level (unless you're ...
by Obscurity4340 on Saturday November 25, 2023 @04:40PM
(#38416949)
Represent ;)
Re:This page knows your battery charge level (unless you're ...
by hoistbypetard on Saturday November 25, 2023 @04:43PM
(#38416972)
It didn't work on Safari (desktop or mobile), Brave, Librewolf or Firefox for me. It worked on Chrome and Vivaldi.
Re:This page knows your battery charge level (unless you're ...
by jakub_g on Saturday November 25, 2023 @05:31PM
(#38417356)
The API is only supported in Chromium browsers [0]. It was removed from Firefox and Safari.
https://developer.mozilla.org/en-US/docs/Web/API/Battery_Sta...
Re:This page knows your battery charge level (unless you're ...
by zimpenfish on Saturday November 25, 2023 @05:40PM
(#38417418)
Somewhat disappointed in macOS for giving the information to Chrome. I'd figure that to be the kind of sensor you need a special entitlement to read (but it may well be tricky to enforce.)
Re:This page knows your battery charge level (unless you're ...
by internetter on Saturday November 25, 2023 @05:44PM
(#38417440)
Some browsers activate a low power mode when your battery reaches a certain threshold
Re:This page knows your battery charge level (unless you're ...
by zimpenfish on Sunday November 26, 2023 @09:06AM
(#38421679)
That should probably come from the OS as a power management event ("low power mode: on") rather than the browser being able to read the battery state directly and making its own decisions, surely.
Re:This page knows your battery charge level (unless you're ...
by internetter on Tuesday November 28, 2023 @10:47AM
(#38446953)
Probably, yeah
Re:This page knows your battery charge level (unless you're ...
by moffkalast on Saturday November 25, 2023 @04:49PM
(#38417038)
On desktop Chrome it gives me a "Charging 100%" blue animation, which I suppose is technically correct.
Re:This page knows your battery charge level (unless you're ...
by starefossen on Saturday November 25, 2023 @04:25PM
(#38416813)
Same here.