Discuss Scratch

hello_smile
Scratcher
1000+ posts

Battery detector

Chiroyce wrote:

hello_smile wrote:

We can make it one. Remember gpl/chromium ? We just need to force Mozilla and Apple.
Sure, you can do it
WebKit first. Can you get that in? Remember,
|- webkit
|- chromium
Chiroyce
Scratcher
1000+ posts

Battery detector

This topic went from suggestions to the ATs real quick!

Also I'd rather have Chromium ditch this API instead of having Apple and Mozilla add this!

Last edited by Chiroyce (Aug. 28, 2021 07:28:46)

hello_smile
Scratcher
1000+ posts

Battery detector

Chiroyce wrote:

This topic went from suggestions to the ATs real quick!

Also I'd rather have Chromium ditch this API instead of having Apple and Mozilla add this!
Oh, EmojiSploit is back!
hello_smile
Scratcher
1000+ posts

Battery detector

hello_smile wrote:

Chiroyce wrote:

This topic went from suggestions to the ATs real quick!

Also I'd rather have Chromium ditch this API instead of having Apple and Mozilla add this!
Oh, EmojiSploit is back!
nvm
hello_smile
Scratcher
1000+ posts

Battery detector

dhuls wrote:

hello_smile wrote:

potatophant wrote:

hello_smile wrote:

There is a Chromium API.
but it's not a web standard.
We can make it one. Remember gpl/chromium ? We just need to force Mozilla and Apple.
yeah, that farce
That went as successfully as tDuke Nukem Forever.

Anyways, yeah, keep trying, It takes a lot of effort to get banned from a GitHub repository.
How much effort?
gdpr5b78aa4361827f5c2a08d700
Scratcher
1000+ posts

Battery detector

hello_smile wrote:

We can make it one. Remember gpl/chromium ? We just need to force Mozilla and Apple.
yeah good luck with that
JackK211424
Scratcher
500+ posts

Battery detector

Chiroyce wrote:

You can't do this, JavaScript cannot detect how much battery you have left!
This suggestion is like saying “Make a electricity generator extension for scratch ” when it is clearly not possible.

Absolutely no support since this is impossible lol
Nope, its possible.

Problem is, its deprecated, meaning its not required for any browser. Anybody who uses safari, firefox, or *shivers* internet explorer, cant actually use it.
FoxCodezStuff
Scratcher
100+ posts

Battery detector

nikhilscratch2008 wrote:

i think a battery detector could be a good block for scratch. Lets say we are making an os on scratch. the battery block could be used to determine if the user has to plug in their device.

any feedback? thanks
Support. There are so many OSs out there that need it.
tranqus
Scratcher
100+ posts

Battery detector

nikhilscratch2008 wrote:

i think a battery detector could be a good block for scratch. Lets say we are making an os on scratch. the battery block could be used to determine if the user has to plug in their device.

any feedback? thanks
i'm pretty sure theres a project that uses custom blocks to guess your battery percentage. i saw it ages ago, and now i cant find it
Little_Mittle12345
Scratcher
100+ posts

Battery detector

SEmi support support support. THis is a cool, but HARD thing to do
Very_Interesting_Bid
Scratcher
500+ posts

Battery detector

No support, for reasons listed in prior posts. Also a vast majority of scratch users use PC, so it would just be broken for them.
MIfzal2014
Scratcher
4 posts

Battery detector

It can be a Good Idea for adding a “detect Battery” block.
It can be used mostly in windows or mobile scratch projects
(I am making a windows 12 emulator)
MIfzal2014
Scratcher
4 posts

Battery detector

It might be on Turbowarp extensions
A_Nyan_In_Space
Scratcher
100+ posts

Battery detector

Ihatr wrote:

I can't think of a valid use for battery detection
if <(batter ::sensing) < [10]> then
change [color v] effect by (25)

end

Powered by DjangoBB