×

Discussion Board

Results 1 to 6 of 6

Thread: Battery level

  1. #1
    Regular Contributor
    Join Date
    Apr 2003
    Posts
    52

    Battery level

    I'm trying to get the battery level on the 7650 and 3650 devices. I've tried using HAL::Get(HALData::EPowerBatteryStatus, batStatus) but it allways returns me EPowerBatteryStatusGood even when the phone tells me the battery is allmost empty !
    What is the right way to get Battery Level ?

  2. #2
    Regular Contributor
    Join Date
    Oct 2003
    Location
    England
    Posts
    167
    yes I too have had this problem, the battery strength enum only has three values yet on the phone i'm running on the battery strength indicator has six grades. Confusing ??

  3. #3
    Regular Contributor
    Join Date
    Oct 2003
    Location
    England
    Posts
    167
    have you managed to fix this ?

  4. #4
    Regular Contributor
    Join Date
    Apr 2003
    Posts
    52
    No I jsut forgot about checking battery in my application

  5. #5
    Registered User
    Join Date
    Oct 2003
    Posts
    10
    There could be a freaky way around: Screenshot-programms show that it is possible to get the bitmap which is currently visible on screen. If your program from time to time switches on the status panes, it could get the pixels on the bitmap and then analy how many bars are set...

    Hope someone sometimes finds a better way or publishes a class doing this ;-)

  6. #6
    Regular Contributor
    Join Date
    Sep 2003
    Posts
    195
    I've also been trying (with no luck) to get system settings data
    in particular the screen saver timeout that the user has set
    (1-30 minutes). There are loads of flags in hal_data.h
    including battery level stuff but nothing about other settings.

    paris.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×