~ubuntu-branches/ubuntu/lucid/hdparm/lucid

Viewing all changes in revision 25.

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2009-10-05 22:57:20 UTC
  • Revision ID: james.westby@ubuntu.com-20091005225720-lwsabv1ltlpq483x
Tags: 9.15-1ubuntu4
* Recommend powermgmt-base, so we can use on_ac_power to detect if we're on
  battery.
* Add a new option to hdparm.conf, apm_battery, which is used in place of
  apm when we detect that we're on battery power.
* debian/hdparm.udev-script, debian/hdparm.init: only use the 'apm' setting
  when we're not on battery; when we are on battery, apply the separate
  'apm_battery' setting.
* debian/hdparm-functions: break out a barebones parser for
  /etc/hdparm.conf and install it to /usr/lib/pm-utils, for use in
  /usr/lib/pm-utils/sleep.d/95hdparm-apm.  LP: #238555.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: