[systemd-bugs] [Bug 57014] New: /etc/systemd/logind.conf should have HandleExternalPower, HandleBatteryPower if systemd is to replace acpid; or other means to achieve power-friendly "daily tasks" on laptops

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 12 05:42:37 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=57014

          Priority: medium
            Bug ID: 57014
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: /etc/systemd/logind.conf should have
                    HandleExternalPower, HandleBatteryPower if systemd is
                    to replace acpid; or other means to achieve
                    power-friendly "daily tasks" on laptops
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: shawn.t.rutledge at gmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

I was looking for a way that systemd could cause crond to start only when my
laptop is plugged in to AC power, and stop it when it's on battery power. 
There is HandleLidSwitch, HandleSuspendKey etc. already, but handling change in
charging status seems to be something acpid provides which systemd does not
yet.  Or am I missing something?

Then again, systemd is supposed to replace cron anyhow.  So maybe what is
needed instead is a way to run a task when the system is idle AND it's on AC
power (and maybe within a certain time range).  That would be for tasks that
have traditionally been done by /etc/cron.daily jobs, such as updatedb.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20121112/3c64b353/attachment.html>


More information about the systemd-bugs mailing list