lsm_battery_type_get - Man Page
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
January 2025 Libstoragemgmt C API Manual