summaryrefslogtreecommitdiff
path: root/src/org.freedesktop.UPower.xml
AgeCommit message (Collapse)AuthorFilesLines
2014-05-07all: Remove IsDocked propertyBastien Nocera1-14/+0
Removes the deprecated (for not very long) property, before we do a 1.0 release. https://bugs.freedesktop.org/show_bug.cgi?id=78380
2014-05-07daemon: Deprecate "IsDocked" propertyBastien Nocera1-2/+4
The IsDocked property has been incorrect for a number of laptops for a while, as it thought that laptops with hybrid graphics cards were always docked. The alternative would have been to use the platform/dock_station devices, but those are only exported for ACPI docking stations. Instead, whether an external display is attached (which isn't really docking) should be checked in the same place where the policy depending on the value should be applied, such as gnome-settings-daemon. https://bugs.freedesktop.org/show_bug.cgi?id=36818
2013-10-17all: Remove *changed signalsBastien Nocera1-28/+0
Now that we send out PropertiesChanged signals (on the daemon side) and "notify" signals (on the client side), there's no need for the all encompassing DeviceChanged and Changed signals. They would have woken up any client, even if they were not interested in receiving the signals.
2013-10-17all: Add GetCriticalAction daemon methodBastien Nocera1-0/+27
This allows desktop front-ends to get which action will actually be taken when we hit critical battery. This is not a property as availability of actions might change over the course of the run of the system, and we didn't want to make unnecessary D-Bus calls on startup.
2013-10-17all: Remove WarningLevel from the daemon propertiesBastien Nocera1-7/+0
The WarningLevel property just replicated the warning level on the display device, or at least should have. So we fix the latter to remove the former.
2013-10-16daemon: Add documentation for computed propertiesBastien Nocera1-0/+6
Those are also part of the display device properties that we will update.
2013-10-16daemon: Mention hard-coded display device object pathBastien Nocera1-1/+3
/org/freedesktop/UPower/devices/DisplayDevice is a stable object path.
2013-10-16daemon: Add GetDisplayDevice methodBastien Nocera1-0/+46
And export a DisplayDevice object which can be used by desktop shells to show/hide the status icon.
2013-10-14daemon: Replace "on-low-battery" propertyBastien Nocera1-3/+3
With "warning-level" property.
2013-10-14daemon: Remove obsolete featuresBastien Nocera1-225/+0
2012-06-27trivial: Fix up some documentation typosLukas Tinkl1-4/+4
Signed-off-by: Richard Hughes <richard@hughsie.com>
2011-05-04Add new NotifySleep() and NotifyResume() signals that include the sleep typeRichard Hughes1-0/+56
This allows session power managers to do different actions depending on whether the user is suspending or hibernating. This allows the session policy agent to poke other things (for instance, the screensaver) even if another process initiated the sleep. This is based on a patch from Phillip Susi <psusi@cfl.rr.com>, many thanks.
2011-02-02Add a LidForceSleep property to ensure that we don't melt any laptopsRichard Hughes1-0/+18
We still need to add the DMI quirks, but I'm waiting for the community to supply them now.
2011-01-04Add an IsDocked binary property to the main interfaceRichard Hughes1-0/+12
2010-05-28trivial: Rename a few 'DeviceKit-power' strings we missedRichard Hughes1-1/+1
2010-02-09Add {Suspend,Hibernate}Allowed D-Bus methodsMartin Pitt1-0/+33
Add two D-Bus server methods to check whether the caller has the privilege to suspend or hibernate. This enables us to check for PK privileges in UpClient's can_{suspend,hibernate} properties, so that clients like gnome-session or gnome-power-manager hide the suspend/hibernate related actions if the admin or OEM disabled suspend/hibernate through a PolicyKit .pkla file. https://bugs.freedesktop.org/show_bug.cgi?id=26473
2010-02-08Add a new method and two new signals to inform userspace of the pending ↵Richard Hughes1-0/+78
suspend and the resume event Based on an idea from Matthew Garrett and Lennart Poettering
2010-01-18Rename the DBus service from org.freedesktop.DeviceKit.Power to ↵Richard Hughes1-0/+198
org.freedesktop.UPower