<node> <interface name="org.freedesktop.UPower"> <property name="OnBattery" type="b" access="read"/> </interface> </node>