can_suspend_to_{x}
Richard Hughes
hughsient at gmail.com
Fri May 5 13:16:37 PDT 2006
In the spirit of making everything consistent [1] I think the:
power_management.can_suspend_to_disk
power_management.can_suspend_to_ram
keys should be:
power_management.can_hibernate
power_management.can_suspend
As we already call the methods Suspend() and Hibernate() and I'm trying
to make this a little more sane with all the power stuff for all the
overlapping nomenclature. I'm sending similar emails to other projects
as I want to make this as standardised as possible.
I figure getting the same names so it all makes sense when we document
it, is worth the short term pain of breaking (undocumented?) API.
What do you think?
Richard.
[1] http://live.gnome.org/GnomePowerManager/SleepNames
More information about the hal
mailing list