How to save battery life through Blackberry apps

Battery management on Blackberry phones can be a hard game at times. And if you haven’t really thought about it, you would, for sure in near future. To be able to use your phone with maximum throughput is very important here. Everyone wants to get most out of their gadgets. We will try to explain some tips which could help you with this.

Blackberry

Tip 1: One other operation that sucks out your battery is finding fix on an autonomous GPS. You should instead use Blackberry Criteria to let it know what exactly you need. Changing the level of accuracy would also help here.

Tip 2: If the application is in the background (the third state) then you need not run certain threads for that app like animations, interface and media. Also you should change settings so that when the backlight goes off, it should automatically move from foreground to background. To check if the phone is locked or not, you can use the routine net.rim.device.api.system.ApplicationManager. IsSystemLocked (). And to check if app is running in foreground or background, you can use net.rim.device.api.ui.UiApplication.getUiApplication ().isForeground (). One final thing to check if backlight is on or not, you can use Display.DISPLAY_PROPERTY_REQUIRES_BACKLIGHT.

Tip 3: When battery gets low you should not use heavy operations like active cellular radio, LBS, excessive logging and garbage collection. You should use pushing for you cellular radio instead of polling since it consumes less battery. Also change the log level to a minimum value using Event logger. To do this use: net.rim.device.api.system.EventLogger. getMinimumLevel (). Further you can also use BB JDE’s Memory Stats for garbage collection.

Tip 4: You can use the Profiler to check how many percent of extra CPU you use. Ideally it should be zero or realistically near to zero. Extra CPU usage corresponds to extra battery usage.

Tip 5: You should also check you repaint () activity. It should not matter if the app is running in foreground or background but the screen should be repainted only when needed. Because rendering in openGL can really be battery consuming.

All these tips will not make your battery super powerful, but would certainly get you some extra time — that too, when you need them most. When followed perfectly, you would get most out of your Blackberry battery.

Today's Top Articles:

Scroll to Top