mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-19 13:08:10 +02:00
Merge branch 'align-structures-64bit' into 'master'
up-device-battery: align structure UpBatteryInfo for 64-bit See merge request upower/upower!321
This commit is contained in:
commit
ac1dc1b4f2
1 changed files with 3 additions and 3 deletions
|
|
@ -68,12 +68,12 @@ typedef struct {
|
|||
} UpBatteryValues;
|
||||
|
||||
typedef struct {
|
||||
gboolean present;
|
||||
|
||||
const char *vendor;
|
||||
const char *model;
|
||||
const char *serial;
|
||||
|
||||
gboolean present;
|
||||
|
||||
UpBatteryUnits units;
|
||||
|
||||
union {
|
||||
|
|
@ -87,8 +87,8 @@ typedef struct {
|
|||
} charge;
|
||||
};
|
||||
|
||||
UpDeviceTechnology technology;
|
||||
gdouble voltage_design;
|
||||
UpDeviceTechnology technology;
|
||||
gint charge_cycles;
|
||||
gdouble voltage_max_design;
|
||||
gdouble voltage_min_design;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue