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:
Herman Semenov 2026-04-29 13:00:30 -12:00
commit ac1dc1b4f2

View file

@ -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;