Hi,

> I want to display power status of battery in main window of my target
> board
> Example - battery is fully charged or battery down

EDE have battery monitoring for panel that was shown to works pretty
nice across the Linux/BSD's. Althought there is some efltk code in it
(name mappings are the same as for FLTK 1.x, so this should not be a problem), 
parts that does actual reading does not involve any GUI code.

Here is the link:
http://ede.svn.sourceforge.net/viewvc/ede/trunk/ede/eworkpanel/batterymonitor.cpp?view=markup

> In mobile phone how they display status of battery in main window

AFAIK, all mobile phones provides some API for this. E.g. on Symbian OS
this can be easily done via CTelephony class.

--
Sanel
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to