org.freedesktop.UPower.Device

org.freedesktop.UPower.Device — Device interface

Methods

Refresh()
GetHistory(in's'type,
in'u'timespan,
in'u'resolution,
out'a(udu)'data)
GetStatistics(in's'type,
out'a(dd)'data)

Signals

Changed()

Implemented Interfaces

Objects implementing org.freedesktop.UPower.Device also implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties

Properties

'NativePath'read's'
'Vendor'read's'
'Model'read's'
'Serial'read's'
'UpdateTime'read't'
'Type'read'u'
'PowerSupply'read'b'
'HasHistory'read'b'
'HasStatistics'read'b'
'Online'read'b'
'Energy'read'd'
'EnergyEmpty'read'd'
'EnergyFull'read'd'
'EnergyFullDesign'read'd'
'EnergyRate'read'd'
'Voltage'read'd'
'Luminosity'read'd'
'TimeToEmpty'read'x'
'TimeToFull'read'x'
'Percentage'read'd'
'Temperature'read'd'
'IsPresent'read'b'
'State'read'u'
'IsRechargeable'read'b'
'Capacity'read'd'
'Technology'read'u'
'RecallNotice'read'b'
'RecallVendor'read's'
'RecallUrl'read's'

Description

Objects implementing this interface are usually discovered through the org.freedesktop.UPower interface on the /org/freedesktop/UPower object on the D-Bus system bus service with the well-known name org.freedesktop.UPower using the EnumerateDevices method.

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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109