SMAPI data for Thinkpad laptop batteries
Mikhail Gusarov
dottedmag at dottedmag.net
Thu Feb 4 07:35:54 PST 2010
Hello.
I am considering writing (or extending existing) applet for controlling
Thinkpad-specific battery properties, such as thresholds for
charging/discharging, forcing battery discharge and preventing from
charge for a specified amount of time, available through SMAPI interface
(tp_smapi kernel module).
Looks like upower is a proper place for exposing this controls to
applications, though I'm not sure how to expose them properly.
Should smapi-enabled batteries expose additional inteface? If yes, then
how to signal presence of this interface, is it ok for UI stuff to query
it for every device it manages?
--
http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/devkit-devel/attachments/20100204/607e14dd/attachment.pgp
More information about the devkit-devel
mailing list