×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    13

    Battery level QtMobility 1.1.1

    I made an app that read the battery level of my Nokia E52.

    So, my code is:

    Code:
    QSystemDeviceInfo sysInfo;
    int batteryLevel = sysInfo.batteryLevel();
    the problem is that when I used the QtMobility 1.1.0 it works, but with QtMobility 1.1.1 package, this function return me always the zero level, also when the battery is completely charge.

    Could be a bug of the new version?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Battery level QtMobility 1.1.1

    I would have same answer as with the other thread, thus you might want to experiment with latest (just out today): http://www.forum.nokia.com/info/sw.n...f8/Qt_SDK.html SDK, it has mobility 1.1.2.

Similar Threads

  1. Measuring Battery Level........
    By damithark in forum Mobile Java General
    Replies: 2
    Last Post: 2009-06-23, 06:05
  2. battery level
    By Bhoopathi Kummara in forum Symbian
    Replies: 1
    Last Post: 2007-12-29, 14:51
  3. battery level indicator
    By urrg in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-05-14, 05:46
  4. Battery level
    By nanard in forum Symbian
    Replies: 5
    Last Post: 2003-12-20, 13:28
  5. Battery and Signal level
    By nike28 in forum Symbian
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

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