BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 08-25-2010, 09:35 AM   #1 (permalink)
New Member
 
Join Date: Aug 2010
Model: nil
PIN: N/A
Carrier: NIL
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Low battery detection

Please Login to Remove!

Hi
I am newbie in blackberry java development.I am currently working in Blackberry JDE 5.0 version(RIM).

I want to implement a feature which will check for the device battery.Like i have to check if the device battery has reached a critical level.Can anyone help me by providing some sample code or references as to how it can be implemented.

Thanks in advance
Offline  
Old 08-25-2010, 01:29 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

How about DeviceInfo.getBatteryLevel()

It's in the javadocs.
Offline  
Old 08-31-2010, 10:56 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2010
Model: 8530
PIN: N/A
Carrier: Sprint
Posts: 48
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

You will get the answer in the link below...

Displaying the top banner in BlackBerry - BlackBerry Support Community Forums

Last edited by romah : 08-31-2010 at 10:57 AM.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Atmel AT28HC256F-12LM/883C EEPROM IC - Mil-Spec 1ea.
$25.0
Atmel AT28HC256F-12LM/883C EEPROM IC - Mil-Spec 1ea. pictureAPPRX 250PC SMD AT93C46 1K BIT EEPROM LOT
$9.95
APPRX 250PC SMD AT93C46 1K BIT EEPROM LOT pictureALLEN BRADLEY 1785-ME16 SER. A EEPROM MEMORY CARTRIDGE 16K *USED*
$32.0
ALLEN BRADLEY 1785-ME16 SER. A EEPROM MEMORY CARTRIDGE 16K *USED* picturePRE PROGRAMMED EEPROM FOR RCA LED32B30RQD RE01M3393LNA12-A1 EEPROM
$8.99
PRE PROGRAMMED EEPROM FOR  RCA  LED32B30RQD      RE01M3393LNA12-A1   EEPROM  pictureAT24C02 I2C Data Storage Module EEPROM Memory Module 2.7-5.5V Interface AU
$0.69
AT24C02 I2C Data Storage Module EEPROM Memory Module 2.7-5.5V Interface AU picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.