[patch] addon-hid-ups.c : battery.present is mandatory for HAL spec
Richard Hughes
hughsient at gmail.com
Sun May 8 11:32:31 PDT 2005
According to the HAL spec, battery.present is compulsory for devices
that have capability battery.
Whilst programming the tooltip logic for Power Manager, I noticed that
battery.present is never set for my UPS. It makes no sense to have a UPS
without a battery (you can't hot-change the batteries...) so this
parameter should be hard-coded.
Patch attached.
Thanks,
Richard.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ups-always-present.patch
Type: text/x-patch
Size: 410 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20050508/e343985a/ups-always-present.bin
-------------- next part --------------
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list