pm-powersave is not triggered when unplugging charger
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pm-utils (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Not sure at all which package to file this bug against, hopefully someone can help me tag the right package. There is no pm-powersave event triggered when plugging or unplugging my charger, none of the powersave scripts are therefore triggered. I'm on a Lenovo Yoga 2 Pro. This must be a regression in Vivid, has worked fine in both Trusty and Utopic. I can manually run sudo pm-powersave true to trigger the scripts
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: pm-utils 1.4.1-15
ProcVersionSign
Uname: Linux 3.19.0-20-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
Date: Wed Jun 3 07:05:30 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-03-30 (429 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
PackageArchitec
SourcePackage: pm-utils
SystemImageInfo:
current build number: 0
device name: ?
channel: daily
last update: Unknown
UpgradeStatus: Upgraded to vivid on 2015-04-30 (33 days ago)
Changed in pm-utils (Ubuntu): | |
importance: | Undecided → Medium |
Caused by switch from upstart to systemd.
Copy attachment (requires root) to /etc/udev/ rules.d/ powersave. rules.
See also bug https:/ /bugs.launchpad .net/ubuntu/ +source/ pm-utils/ +bug/1455097 for same problem with suspend/resume
Still always assumes on battery at boot though.