power_supply_desc
Regular
4.4
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
4.8
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
4.10
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
4.13
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
4.15
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
4.18
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_usb_type *usb_types;
size_t num_usb_types;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
5.0
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_usb_type *usb_types;
size_t num_usb_types;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
5.3
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_usb_type *usb_types;
size_t num_usb_types;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
5.4
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_usb_type *usb_types;
size_t num_usb_types;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
5.8
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
const enum power_supply_usb_type *usb_types;
size_t num_usb_types;
const enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
5.11
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
const enum power_supply_usb_type *usb_types;
size_t num_usb_types;
const enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
5.13
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
const enum power_supply_usb_type *usb_types;
size_t num_usb_types;
const enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
5.15
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
const enum power_supply_usb_type *usb_types;
size_t num_usb_types;
const enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
5.19
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
const enum power_supply_usb_type *usb_types;
size_t num_usb_types;
const enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
6.2
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
const enum power_supply_usb_type *usb_types;
size_t num_usb_types;
const enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
6.5
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
const enum power_supply_usb_type *usb_types;
size_t num_usb_types;
const enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
6.8
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
const enum power_supply_usb_type *usb_types;
size_t num_usb_types;
const enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
arm64
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_usb_type *usb_types;
size_t num_usb_types;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
armhf
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_usb_type *usb_types;
size_t num_usb_types;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
ppc64el
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_usb_type *usb_types;
size_t num_usb_types;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
riscv64
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_usb_type *usb_types;
size_t num_usb_types;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
aws
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_usb_type *usb_types;
size_t num_usb_types;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
azure
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_usb_type *usb_types;
size_t num_usb_types;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
gcp
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_usb_type *usb_types;
size_t num_usb_types;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
lowlatency
: ✅struct power_supply_desc {
const char *name;
enum power_supply_type type;
enum power_supply_usb_type *usb_types;
size_t num_usb_types;
enum power_supply_property *properties;
size_t num_properties;
int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
void (*external_power_changed)(struct power_supply *);
void (*set_charged)(struct power_supply *);
bool no_thermal;
int use_for_apm;
};
Regular
4.4
and 4.8
✅
4.8
and 4.10
✅
4.10
and 4.13
✅
4.13
and 4.15
✅
4.15
and 4.18
⚠️enum power_supply_usb_type *usb_types
size_t num_usb_types
4.18
and 5.0
✅
5.0
and 5.3
✅
5.3
and 5.4
✅
5.4
and 5.8
⚠️enum power_supply_usb_type *usb_types
➡️ const enum power_supply_usb_type *usb_types
enum power_supply_property *properties
➡️ const enum power_supply_property *properties
5.8
and 5.11
✅
5.11
and 5.13
✅
5.13
and 5.15
✅
5.15
and 5.19
✅
5.19
and 6.2
✅
6.2
and 6.5
✅
6.5
and 6.8
✅
amd64
and arm64
✅
amd64
and armhf
✅
amd64
and ppc64el
✅
amd64
and riscv64
✅
generic
and aws
✅
generic
and azure
✅
generic
and gcp
✅
generic
and lowlatency
✅