gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Misc > Batterylife

#72616 - Payk - Mon Feb 20, 2006 2:31 pm

is there a way to check of much batterpower is left?
or is that not possible?

#72617 - Roc - Mon Feb 20, 2006 2:41 pm

Unfortunately it is not possible. The DS hardware only knows if the battery is charged (green light) or needs charged (red light). No in-between states.

#72632 - genfish - Mon Feb 20, 2006 5:34 pm

can u control the state of the battery light from within your code. U could make it flash annoyingly at the user.
_________________
there is no rl only afk

#72739 - Payk - Tue Feb 21, 2006 7:33 am

ok thanx. i thought it would be like that. a seperated thing...but asking is always allowed and a statusbar for batterie in my os... that could be cool. but its unimportant. i have to concentrade on other things first. Thanx anyway