/usr/share/freesmartphone/xml/org.freesmartphone.Device.PowerSupply.xml is in fso-specs 2012.07.27.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/">
<interface name="org.freesmartphone.Device.PowerSupply">
<method name="GetCapacity">
<annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
<arg direction="out" type="i" name="energy"/>
<fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone"/>
</method>
<method name="GetPowerStatus">
<annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
<arg xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" direction="out" type="s" name="status" fso:type="org.freesmartphone.Device.PowerStatus"/>
<fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone"/>
</method>
<signal name="PowerStatus">
<arg xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="s" name="status" fso:type="org.freesmartphone.Device.PowerStatus"/>
</signal>
<signal name="Capacity">
<arg type="i" name="energy"/>
</signal>
</interface>
<fso:enumeration xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" name="org.freesmartphone.Device.PowerStatus" type="s">
<fso:member name="charging" value="charging"/>
<fso:member name="discharging" value="discharging"/>
<fso:member name="full" value="full"/>
<fso:member name="empty" value="empty"/>
<fso:member name="critical" value="critical"/>
<fso:member name="removed" value="critical"/>
<fso:member name="unknown" value="unknown"/>
<fso:member name="online" value="online"/>
<fso:member name="offline" value="offline"/>
<fso:member name="ac" value="ac"/>
</fso:enumeration>
</node>
|