×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    2

    Battery status as events

    Hi All,

    Is there any API where i can register to get battery low and battery empty events?
    I have to close my application when i get one of the above two
    conditions.

    I read some information in forum in which they suggested to use ETel API to get battery information.
    But in that case i have to poll for battery information each time.

    Will the following events match my requirement?
    TEventCode::EEventSwitchOff
    TEventCode::EEventKeySwitchOff

    Thanks,
    Manik.

  2. #2
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: Battery status as events

    Which sdk are you working with? Use the sdk doc / wiki.

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    2

    Re: Battery status as events

    Quote Originally Posted by david.caabeiro View Post
    Which sdk are you working with? Use the sdk doc / wiki.
    Hi david,

    I am using S60 v3.2.
    Can you please send links to get asynchronous events for battery status?

    Thanks,
    Manik

  4. #4
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: Battery status as events

    Did you even try searching for "Battery" in the sdk doc? You'll find plenty of info -even example code- that will answer your query.

  5. #5
    Super Contributor
    Join Date
    Jul 2006
    Location
    Oulu, Finland.
    Posts
    1,174

    Re: Battery status as events


  6. #6
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    179

    Re: Battery status as events

    Hi,

    You can make use of RPropert.
    bellow link will be helpful for you.
    http://wiki.forum.nokia.com/index.ph...ith_properties

Similar Threads

  1. Monitoring battery status
    By patrickfrei in forum Symbian
    Replies: 6
    Last Post: 2007-11-19, 14:29
  2. Battery status check (mobile s60 )
    By Mdiaw2006 in forum Symbian
    Replies: 3
    Last Post: 2006-07-20, 10:19
  3. How can i solve this error?
    By symbian-newbie in forum Symbian
    Replies: 6
    Last Post: 2006-05-23, 05:33
  4. Getting started with Carbide.vs -- running the app
    By ET3D in forum Symbian Tools & SDKs
    Replies: 6
    Last Post: 2005-11-23, 17:45

Posting Permissions

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