Fun using power button LEDs as battery indicator

seba.dos1 at seba.dos1 at
Sat Oct 11 00:12:01 CEST 2008

I have written other script for that LEDs some time ago, it's called
ledd and it's indicating charging state and transferring data over

On polish wiki ( you can find
other interesting stuff.

On 10/10/08, Nick Van Fossen <stix213 at> wrote:
> Some of you probably knew this, but I just found out that the Freerunner
> actually has a couple LEDs under the power button, but they don't seem to be
> used yet in 2008.9 stable.  So, I thought it would be helpful to use them as
> an external battery power indicator.  If you are like me, I let my phone
> screen go black after 60 seconds and go to suspend by button press only, so
> this is also helpful to tell if the Freerunner is in suspend or powered on
> with the screen off.
> Power button blue for high battery, purple for medium, and orange for low.
> Perl script and simple instructions:
> By the way, suspend mode and the phone itself are working great for me after
> figuring out that pulseaudio was causing major problems.  Don't install the
> mediaplayer, and if you did...  get rid of pulseaudio and the phone starts
> working pretty good.
> -Nick
> _________________________________________________________________
> See how Windows connects the people, information, and fun that are part of
> your life.
> _______________________________________________
> Openmoko community mailing list
> community at

More information about the community mailing list