diff --git a/src/up-device-battery.c b/src/up-device-battery.c index 8c0b1b9..0e51aab 100644 --- a/src/up-device-battery.c +++ b/src/up-device-battery.c @@ -537,6 +537,7 @@ up_device_battery_update_info (UpDeviceBattery *self, UpBatteryInfo *info) "charge-end-threshold", info->charge_control_end_threshold, "charge-threshold-enabled", charge_threshold_enabled, "charge-threshold-supported", info->charge_control_supported, + "charge-threshold-settings-supported", info->charge_threshold_settings, "voltage-min-design", info->voltage_min_design, "voltage-max-design", info->voltage_max_design, NULL); @@ -615,6 +616,7 @@ up_device_battery_update_info (UpDeviceBattery *self, UpBatteryInfo *info) "charge-end-threshold", 0, "charge-threshold-enabled", FALSE, "charge-threshold-supported", FALSE, + "charge-threshold-settings-supported", 0, "voltage-min-design", (gdouble) 0.0, "voltage-max-design", (gdouble) 0.0, "capacity-level", NULL, diff --git a/src/up-device-battery.h b/src/up-device-battery.h index e567fe7..dd74510 100644 --- a/src/up-device-battery.h +++ b/src/up-device-battery.h @@ -98,6 +98,7 @@ typedef struct { gboolean charge_control_supported; guint charge_control_start_threshold; guint charge_control_end_threshold; + guint charge_threshold_settings; } UpBatteryInfo;