Lucid's update-manager does not show a warning when running on battery anymore

Bug #539211 reported by Markus Korn
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Medium
Canonical Foundations Team
Lucid
Fix Released
Medium
Canonical Foundations Team

Bug Description

Binary package hint: update-manager

In former versions of ubuntu there used to be a warning dialog when a user was running update-manager when running on battery. This dialog does not appear on lucid anymore.

The code to check if running on battery seems to be not working correctly.

<james_w> http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/lucid/update-manager/lucid/annotate/head:/UpdateManager/Core/utils.py#L210
<james_w> but yes, file a bug, point to that and say that it needs to use the upower paths due to the rename.

Version: update-manager: version 0.133.1

Related branches

Markus Korn (thekorn)
description: updated
James Westby (james-w)
Changed in update-manager (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Canonical Foundations Team (canonical-foundations)
milestone: none → ubuntu-10.04-beta-2
Revision history for this message
Markus Korn (thekorn) wrote :

This is fixed in the attached branch, and needs some review.

Changed in update-manager (Ubuntu Lucid):
status: Triaged → In Progress
Michael Vogt (mvo)
Changed in update-manager (Ubuntu Lucid):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.133.5

---------------
update-manager (1:0.133.5) lucid; urgency=low

  [ Markus Korn ]
  * UpdateManager/Core/utils.py:
    - Modified UpdateManager.Core.utils.on_battery() to use UPower per default
      (and DeviceKit.Power as fallback) to check if a system is running
      on battery (LP: #539211)

  [ Michael Vogt ]
  * DistUpgrade/DistUpgrade.cfg:
    - hint that libparted1.8-12 can be removed to help the upgrader
      logic'
  * DistUpgrade/DistUpgradeViewGtk.py:
    - only run JS progress if there is actually a webkit view
  * DistUpgrade/DevelReleaseAnnouncement:
    - fix text to say that its a BETA release (LP: #544544)
  * DistUpgrade/DistUpgradeViewGtk.py:
    - only run JS updateProgress script if we have a valid slideshow
 -- Michael Vogt <email address hidden> Tue, 23 Mar 2010 11:17:24 +0100

Changed in update-manager (Ubuntu Lucid):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.