Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 209
Registered: ‎11-08-2008
My Device: Not Specified
Accepted Solution

How to get battery information (status)?

Hi All,

I want to fetch the battery information(status i.e how much the battery is remaing).

How can i get the required information of the battery ?

 

 

Thanks and Regards
Developer
Posts: 33
Registered: ‎07-16-2008
My Device: Not Specified

Re: How to get battery information (status)?

look at the api-Dokumentation from the class

 

net.rim.device.api.system.DeviceInfo

 

Regards

Anil

Highlighted
Developer
Posts: 984
Registered: ‎02-10-2009
My Device: Not Specified

Re: How to get battery information (status)?

Have a look at this example. Battery information is displayed in the example.

http://www.jonathanhfisher.co.uk/b2/?p=19code

 

Regards

Bikas