Search This Blog

Thursday, 8 November 2012

Get Battery Level and temperature in Blackberry.

Hello,
        Below is the code,for getting batteryLevel and battery temperature in Blackberry:

CODE:

int _batteryLevel = DeviceInfo.getBatteryLevel();
int _batteryTemp  = DeviceInfo.getBatteryTemperature();

Regards,

No comments:

Post a Comment