Richard Hughes
|
d7447437dd
|
only suppy an id for devices supplying the system
|
2008-07-25 17:17:22 +01:00 |
|
Richard Hughes
|
4a15e42c41
|
add a power-supply bool property so we can tell if the device is a supplier or consumer
|
2008-07-25 17:14:14 +01:00 |
|
Richard Hughes
|
36bf97d913
|
provide a function for getting a unique ID for the battery
|
2008-07-25 17:04:05 +01:00 |
|
Richard Hughes
|
2ed6ed8019
|
add a couple of sanity checks for the battery values
|
2008-07-25 16:55:28 +01:00 |
|
Richard Hughes
|
32df1e0cc1
|
add two bits of data that session applications really want -- battery mode and low battery mode
|
2008-07-24 18:30:00 +01:00 |
|
Richard Hughes
|
2bb27aaf1a
|
add the Suspend() and Hibernate() stub methods
|
2008-07-24 18:27:45 +01:00 |
|
Richard Hughes
|
9ce7f3665b
|
if the battery goes away, properly clean up the cached values
|
2008-07-24 18:19:16 +01:00 |
|
Richard Hughes
|
a6f9b0fcb6
|
using the technology as the coldplug indicator is a bad idea, properly flag this
|
2008-07-24 18:18:12 +01:00 |
|
Richard Hughes
|
1f41f03776
|
export battery-is-present as some batteries in laptops and UPSs can be removed
|
2008-07-24 18:15:40 +01:00 |
|
Richard Hughes
|
a1f9c05280
|
export battery-is-rechargeable so we can export if we think it can be recharged
|
2008-07-24 18:12:47 +01:00 |
|
Richard Hughes
|
4433bd3379
|
export battery-capacity as it's a useful property of a battery
|
2008-07-24 18:09:17 +01:00 |
|
Richard Hughes
|
ec658f5d29
|
battery-technology should be an enumerated type
|
2008-07-24 18:03:05 +01:00 |
|
Richard Hughes
|
2da987f9bc
|
add the battery state enumerated type property
|
2008-07-24 17:59:48 +01:00 |
|
Richard Hughes
|
f1c5630274
|
split out the enumerated stuff into devkit-power-enum.[c|h] as they'll be more soon
|
2008-07-24 17:52:51 +01:00 |
|
Richard Hughes
|
8a04a2c3ed
|
remove the battery-energy-empty-design parameter, it's never going to be anything other than zero
|
2008-07-24 17:46:31 +01:00 |
|
Richard Hughes
|
4398839de1
|
add the PolicyKit action org.freedesktop.devicekit.power.hibernate
|
2008-07-24 17:41:14 +01:00 |
|
Richard Hughes
|
058834be91
|
add a new convenience function, sysfs_get_bool()
|
2008-07-24 17:40:22 +01:00 |
|
Richard Hughes
|
75ecbba194
|
fixup a few places where we mention a disk daemon to a power daemon
|
2008-07-24 17:39:00 +01:00 |
|
David Zeuthen
|
2a09a8062a
|
commit test
|
2008-05-08 22:39:07 -04:00 |
|
David Zeuthen
|
af9c6f0b03
|
forgot to add files
|
2008-05-08 22:32:17 -04:00 |
|
David Zeuthen
|
44d5391306
|
added wrong file
|
2008-05-08 22:30:53 -04:00 |
|
David Zeuthen
|
37f9df9b05
|
initial commit
|
2008-05-08 22:29:38 -04:00 |
|