all groups > dotnet sdk > july 2005 >
You're in the

dotnet sdk

group:

Saving power and the battery while programming for Mobile 5.0


Saving power and the battery while programming for Mobile 5.0 Tony Thijs
7/15/2005 12:00:00 AM
dotnet sdk:
Hi,

Are there any backgrounders available about best practices where it comes to
saving power -and the battery while programming with Visual Studio 2005, the
CF 2.0 beta and the Mobile 5.0 SDK?

Kind regards,

Tony Thijs

Re: Saving power and the battery while programming for Mobile 5.0 Mona
7/19/2005 12:00:00 AM
Hi Tony,

Regarding this issue, I would like to tell you that basically it comes dow
to saving the processor cycles.
- If you do some job in the background threads use Thread.Sleep as much as
possible. Don't loop continuosly.
- Try to suspend your program execution (or redraw the screen) when it goes
to background.
- Whenever it's possible avoid polling.

Also, I would request you to plaese go through the following site :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedebug5/html/wce50conSoftwareConsiderationsForBatteryLife.asp

Hope this helps.

Regards,
Mona [Grapecity]


[quoted text, click to view]

AddThis Social Bookmark Button