GObject.Object
UPowerGlib.Device
Import line: | UPowerGlib = imports.gi.UPowerGlib; |
GIR File: | UPowerGlib-1.0.gir |
C documentation: | UPowerGlibDevice |
Class : | Device |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
capacity : gdouble
|
UPowerGlib.Device | |
energy : gdouble
|
UPowerGlib.Device | |
energy_empty : gdouble
|
UPowerGlib.Device | |
energy_full : gdouble
|
UPowerGlib.Device | |
energy_full_design : gdouble
|
UPowerGlib.Device | |
energy_rate : gdouble
|
UPowerGlib.Device | |
has_history : gboolean
|
UPowerGlib.Device | |
has_statistics : gboolean
|
UPowerGlib.Device | |
is_present : gboolean
|
UPowerGlib.Device | |
is_rechargeable : gboolean
|
UPowerGlib.Device | |
kind : guint32
|
UPowerGlib.Device | |
model : String
|
UPowerGlib.Device | |
native_path : String
|
UPowerGlib.Device | |
online : gboolean
|
UPowerGlib.Device | |
parent : GObject.Object
read only
|
UPowerGlib.Device | |
percentage : gdouble
|
UPowerGlib.Device | |
power_supply : gboolean
|
UPowerGlib.Device | |
priv : UPowerGlib.DevicePrivate
read only
|
UPowerGlib.Device | |
recall_notice : gboolean
|
UPowerGlib.Device | |
recall_url : String
|
UPowerGlib.Device | |
recall_vendor : String
|
UPowerGlib.Device | |
serial : String
|
UPowerGlib.Device | |
state : guint32
|
UPowerGlib.Device | |
technology : guint32
|
UPowerGlib.Device | |
time_to_empty : gint64
|
UPowerGlib.Device | |
time_to_full : gint64
|
UPowerGlib.Device | |
update_time : guint64
|
UPowerGlib.Device | |
vendor : String
|
UPowerGlib.Device | |
voltage : gdouble
|
UPowerGlib.Device |
Method / Constructor | Defined By | |
---|---|---|
new UPowerGlib.Device
(Object properties)
Create a new UPowerGlib.Device
Create a new UPowerGlib.Device
|
||
|
UPowerGlib.Device | |
|
UPowerGlib.Device | |
|
UPowerGlib.Device | |
|
UPowerGlib.Device | |
|
UPowerGlib.Device | |
|
UPowerGlib.Device | |
get_history_sync
(String type, guint32 timespec, guint32 resolution, Cancellable cancellable)
:
Array
|
UPowerGlib.Device | |
get_object_path
()
:
String
|
UPowerGlib.Device | |
|
UPowerGlib.Device | |
refresh_sync
(Cancellable cancellable)
:
gboolean
|
UPowerGlib.Device | |
|
UPowerGlib.Device | |
to_text
()
:
String
|
UPowerGlib.Device |
Event | Defined By | |
---|---|---|
changed (Device self)
:
none
|
UPowerGlib.Device |
Class / Namespace | Method / Signal / Properties |
---|---|
UPowerGlib.Client
Signal |
|
UPowerGlib.Client
Signal |
|
UPowerGlib.Client
Signal |
|