Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Battery indicator for chooser main screen #15

Open
greatjack1 opened this issue Jul 11, 2018 · 7 comments
Open

Add Battery indicator for chooser main screen #15

greatjack1 opened this issue Jul 11, 2018 · 7 comments

Comments

@greatjack1
Copy link

Can we add a battery indicator to the main chooser screen?

@thedicemaster
Copy link

I don't think it would be of much use.
power measurement is incredibly inaccurate to the point that the pocketsprite can only really tell "full" "almost empty" and "somewhere in between".
it would display either 100%, 1%, or ??%.

besides, there's already an always visible indicator that warns you if the battery is getting low.

@rorosaurus
Copy link
Contributor

This was also requested on discord. I think I'll take a stab at it when time permits. There's an API we can call to estimate the battery usage, but like dicemaster says, it's not going to be very accurate.
Separately, I think I'll try to take a stab at making that estimate more accurate by approximating the discharge curve, instead of assuming a linear relationship between voltage and SOC.

@rorosaurus
Copy link
Contributor

PocketSprite/8bkc-sdk#15

@rorosaurus
Copy link
Contributor

If we made the change in the sdk, in kcugui_filechooser_filter(), we could get this battery indicator in all the emulator "select ROM" screens as well.

@rorosaurus
Copy link
Contributor

PR here: #18

@rorosaurus
Copy link
Contributor

3rd time's a charm... #20

@rorosaurus
Copy link
Contributor

@thedicemaster there are some things we can do to be much more accurate with our battery estimation. more info: PocketSprite/8bkc-sdk#15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants