On Fri, 2009-06-12 at 08:08 -0400, Michael Terry wrote:
> But one additional thing that pm-powersave does is allow applications to
> hook into am-I-on-battery? events and run a script (by dropping them
> in /usr/lib/pm-utils/power.d).  Is there a replacement for such a
> mechanism?

Could I get some feedback on this?  There are real use-cases for this.
distributed-net's a good example: it's a 'use-your-spare-cpu-cycles'
daemon and it turns itself off when you're on battery.  hdparm is
another example.

The decision about powersave-mode and such needn't be made a priori by
dk-p, but could be made by the distribution in whether to ship the
powersave-mode power.d script as part of pm-utils.  The power.d
mechanism doesn't strike me as inherently bad.

-- 
mterry | UI & App Engineer, Canonical Ltd. | +1 781 761 9092

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
devkit-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Reply via email to