Our customer wants to have battery status indicator icon on top corner of
the LCD just like a mobile phone/Win Mobile(either as application or
somewhere on desktop).
But the target is not a Win Mobile device. It is a home remote control
Our BSP for Win CE 5.0 is a generic one. We have battery driver that can
read battery voltage status using our ADC pin.
Is there any shortcut to get this done ?. Is this related to OS design
template ?. I've seen battery and other status indicator on Win Mobile
desktop on the top right corner.
But for Win CE 5.0 generic desktop it looks just like a typical desktop.
How to go about getting this done ?
regards,
GS-ICN
if you integrate this, windows ce will take care of the remaining thing(it
is having control panel applet, as well as it will show the status as a icon
in the system tray.
Otherwise you have to develop your own driver, API set and control panel
applet etc...).
--
vinoth.R
http://www.windowsfordevices.com/articles/AT8185724467.html
http://e-consystems.com/gprsconnectivity.asp
http://vinoth-vinothblog.blogspot.com
http://e-consystems.com/blog
"GS" wrote:
> .
>
regards,
GS-ICN
"Vinoth [MCTS]" <vin...@discussions.microsoft.com> wrote in message
news:0C459EAD-8811-4758...@microsoft.com...
Hi there,
By default Wince will be showing battery status as AC_ONLINE because
of which on system tray you will be seeing always connected to
external power. You need to create a thread that will be monitor
charger plug/unplug events and accordingly set system power status by
calling SetPowerState (I dont remember API but something similar,
please refer Wince documents on setting system power states APIs).
Also periodically you can get battery power level, display status as
charging by calling SetPowerState() API.
Thanks