Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1787

Component.onCompleted only fetches the value for deviceinfo.startBatteryLevelChanged() when the application is started

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 1.1.3
    • System Information
    • None
    • Windows 7, Qt Creator 2.3, Qt Quick Components 1.0, Qt Mobility 1.1 (import) and Qt Mobility 1.1.3 on the device, Qt 4.7.3 from Qt SDK.

    Description

      The battery status value (deviceinfo.batteryLevel) in the attached application is fetched when the application starts, but is not updated when value changes.

      This was tested in the Qt Simulator and on device using:

      Component.onCompleted:

      {deviceinfo.currentPowerState();}

      Attachments

        1. BatteryStatus.zip
          21 kB
          Leena Miettinen

        Activity

          People

            lpotter Lorn Potter
            leenam Leena Miettinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: