lsm_battery_type_get man page

lsm_battery_type_get — Retrieves the type for the battery.

Synopsis

lsm_battery_type lsm_battery_type_get (lsm_battery *b);

Arguments

b

Battery to retrieve type for.

Version

1.3

Description

Retrieves the type for the battery.

Return

lsm_battery_type. Possible values are:
   * LSM_BATTERY_TYPE_UNKNOWN
       Unknown or no support or invalid lsm_battery pointer.
   * LSM_BATTERY_TYPE_OTHER
       Vendor specific type.
   * LSM_BATTERY_TYPE_CAPACITOR
       Super capacitor.
   * LSM_BATTERY_TYPE_CHEMICAL
       Chemical battery, e.g. Li-ion battery.

Info

lsm_battery_type_get October 2017 Libstoragemgmt C API Manual