Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-27608

QBatteryInfo returns wrong values for currentFlow when battery is in discharging state

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.1
    • 5.0.0
    • None
    • Ubuntu 12.04 / qt5
    • 620592b4bc2fb4f92cfbd6f09eeafb31b30cb941

    Description

      QBatteryInfo::currentFlow returns negative values when the battery is discharging even though it should return the flow as positive values in that state.

      This was introduced by change id I25b152f99a0ce724cb3ea14533a7a71af42f0827 and might not occur on all linuxes depending on the kernel version.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            liaqi Liang Qi
            mibrunin Michael Bruning
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes