MiyooCFW icon indicating copy to clipboard operation
MiyooCFW copied to clipboard

turn led red when charge low

Open yepyepyep4711 opened this issue 5 years ago • 5 comments

I can only assume what just happened. Mid-game, the device shut down. Since I had been playing for some time, it could be I ran out of juice. After that, it took about five boot cycles to be able to start the machine again (before that, the device froze during boot or displayed endless error messages). Some of the game saves before that (and there had been some, I was playing Wario Land 3 and that game saves regularly) were lost. Maybe it was another of the crashes I've been having (https://github.com/TriForceX/NewBittboyCFW/issues/50), but it looked different.

In any case, please make use of the fact that we have a power led that can turn red to add the function that it will in fact turn red to signal a low charge to the user. Even better, make it three steps. E.g.: 10% charge, the led turns red, 5%, it flashes red and green, 2%, the device "presses" the R key so that the menu is called up, giving the user a chance to save before the device shuts down (it would also make it impossible to ignore the fact that the device needs to be plugged in)

yepyepyep4711 avatar Jul 16 '19 23:07 yepyepyep4711

The battery warning in this console is not properly implemented because the power management circuit on the SoC is bad implemented... Im not sure if is fixable through software.

TriForceX avatar Jul 17 '19 19:07 TriForceX

Sorry, what is the SoC? :sweat_smile:

yepyepyep4711 avatar Jul 17 '19 20:07 yepyepyep4711

“SoC” refers to the system-on-chip, an integrated circuit (also known as a "chip")

TriForceX avatar Jul 17 '19 20:07 TriForceX

ah, thx. So what is bad about it (if you don't mind explaining)?

yepyepyep4711 avatar Jul 17 '19 20:07 yepyepyep4711

Thats mean you cant expect something to work properly if the manufacturer poorly implemented the battery warning on the system.

If there are any solution on the futher i will post here. Thanks.

TriForceX avatar Jul 17 '19 20:07 TriForceX

The battery warning in this console is not properly implemented because the power management circuit on the SoC is bad implemented... Im not sure if is fixable through software.

From what I understood from researching a bit, the battery status is available, only it's awfully not precise so the reading is a "gamble". but could we set the LED to red when the status is like really low? better than nothing.

@TriForceX or on the flip side, if this can not be implemented at this moment at all, shouldn't this issue be sealed / closed and moved to a discussion thread? so the issue list can be cleaned up and the focus will be given to the open issues that can be worked on, just a suggestion ;-)

akg83 avatar May 31 '23 07:05 akg83

IMO duplicate of #106 if it goes for low charge led status. The data corruption shouldn't be an issue now and we added low battery warning a while ago in daemon.

Apaczer avatar Dec 25 '23 16:12 Apaczer