Results 1 to 2 of 2

Thread: Logging battery voltage and current

  1. #1
    Join Date
    Jun 2011
    Qt products
    MacOS X Windows

    Lightbulb Logging battery voltage and current

    Hey people, I am new to this forum and actually to Qt as well. I need my app to gather some statistics such as the battery current and voltage mainly. Now I found out that Qt Mobility 1.2 has a class called QSystemBatteryInfo which can give all these details but I am unable to run Qt Mobility 1.2 on my laptop (Windows). Since Qt Mobility 1.2 does not come with built in with the SDK, I am having a tough time with it. As for Symbian APIs, I am aware of a power API but that's only for Symbian^3 devices and the one I am working on, a Nokia 5800, its a Symbian^1 device. So I am kind of stuck. I dnt think there's any feature in Java ME to check this.
    Now since Qt APIs are usually built on top of a core Symbian API, I want to find out the API, QSystemBatteryInfo is using to get all the current and voltage values for the battery or somehow be able to get voltage and current values. Could somebody please help me out ?

  2. #2
    Join Date
    Sep 2009
    Thanked 348 Times in 333 Posts
    Qt products

    Default Re: Logging battery voltage and current

    Not really sure what your asking, but I'll give it a go.

    If you want to know what QtMobility uses to get the battery voltage and current on a particular platform then you can just view the source code, as it's open source.

    I've used "Nokia Energy Monitor" in the past, but I don't know if its compatible with Symbian 1 platforms.

Similar Threads

  1. QT Logging class
    By leoalvesmachado in forum Newbie
    Replies: 7
    Last Post: 1st December 2013, 20:30
  2. progress bar look like battery
    By bibhukalyana in forum Newbie
    Replies: 4
    Last Post: 16th June 2011, 09:14
  3. Postgres logging and QtCreator
    By feraudyh in forum Newbie
    Replies: 5
    Last Post: 14th September 2010, 18:29
  4. logging support!!
    By Raajesh in forum Qt Programming
    Replies: 1
    Last Post: 18th June 2008, 19:18
  5. logging and tracing in Qt
    By Artschi in forum Qt Programming
    Replies: 4
    Last Post: 17th January 2006, 20:10

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.