1lsm_battery_type_get(3)   Libstoragemgmt C API Manual  lsm_battery_type_get(3)
2
3
4

NAME

6       lsm_battery_type_get - Retrieves the type for the battery.
7

SYNOPSIS

9       lsm_battery_type lsm_battery_type_get (lsm_battery *b);
10

ARGUMENTS

12       b           Battery to retrieve type for.
13

VERSION

15       1.3
16

DESCRIPTION

18       Retrieves the type for the battery.
19

RETURN

21       lsm_battery_type. Possible values are:
22           * LSM_BATTERY_TYPE_UNKNOWN
23               Unknown or no support or invalid lsm_battery pointer.
24           * LSM_BATTERY_TYPE_OTHER
25               Vendor specific type.
26           * LSM_BATTERY_TYPE_CAPACITOR
27               Super capacitor.
28           * LSM_BATTERY_TYPE_CHEMICAL
29               Chemical battery, e.g. Li-ion battery.
30
31
32
33February 2019                lsm_battery_type_get      lsm_battery_type_get(3)
Impressum