~thekorn/ubuntu/lucid/update-manager/bug-539211-on_battery

Viewing all changes in revision 258.

  • Committer: Markus Korn
  • Date: 2010-03-15 19:26:59 UTC
  • Revision ID: thekorn@gmx.de-20100315192659-dpgsf00nypc0964v
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) 

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: