You mean in comparison with the older versions ?
Who knows, just check the optimization enhancements on the release info, you will know if they are related to the performances or not.
Basically, the battery life is affected by the processor performance. The more your game/application needs CPU, the more the battery is affected.
To manage this need of CPU resources, you have to implement some tricks like :
- Have the lowest FPS rate possible according to the lowest animation smoothness you need (check the topic about the smoothness/FPS management)
- Code the best optimized algorithms on your methods
- Stop the refresh when nothing happen in the display (If you don't refresh anything, the display stays the same)
For the last one, I think that is typically the way the display refresh of an Operating System runs. When you don't use it, there is no refresh for the main display and/or all the graphical subcomponents of the main display (like the refresh inside the windows, etc.)
It could be something like that :
- Code:
// THIS IS WRONG BECAUSE THE BLACK FILLRECT WILL BE CALLED ON EACH FRAME
ProcessNextFrame(CGapiSurface * pBackbuffer)
{
backbuffer->FillRect(NULL, RGB(0,0,0), NULL, NULL);
if (!refresh)
MyFunnyGame(pBackbuffer)
}
// THIS IS GOOD
ProcessNextFrame(CGapiSurface * pBackbuffer)
{
if (!refresh)
MyFunnyGame(pBackbuffer)
}