Struct smbioslib::SMBiosPortableBattery [−][src]
pub struct SMBiosPortableBattery<'a> { /* fields omitted */ }
Expand description
Portable Battery (Type 22)
This structure describes the attributes of the portable battery or batteries for the system. The structure contains the static attributes for the group. Each structure describes a single battery pack’s attributes.
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
Implementations
Names the company that manufactured the battery
The date on which the battery was manufactured.
Version 2.2+ implementations that use a Smart Battery set this field to 0 (no string) to indicate that the SBDS Manufacture Date field contains the information.
The serial number for the battery
Version 2.2+ implementations that use a Smart Battery set this field to 0 (no string) to indicate that the SBDS Serial Number field contains the information.
Names the battery device
EXAMPLE: “DR-36”
Identifies the battery chemistry
Version 2.2+ implementations that use a Smart Battery set this field to 02h (Unknown) to indicate that the SBDS Device Chemistry field contains the information.
Design capacity of the battery in mWatt-hours
If the value is unknown, the field contains 0.
For version 2.2+ implementations, this value is multiplied by the ‘design_capacity_multiplier’ to produce the actual value.
Design voltage of the battery in mVolts
If the value is unknown, the field contains 0.
Contains the Smart Battery Data Specification version number supported by this battery
If the battery does not support the function, no string is supplied.
Maximum error (as a percentage in the range 0 to 100) in the Watt-hour data reported by the battery, indicating an upper bound on how much additional energy the battery might have above the energy it reports having
If the value is unknown, the field contains FFh.
16-bit value that identifies the battery’s serial number
This value, when combined with the Manufacturer, Device Name, and Manufacture Date, uniquely identifies the battery. The Serial Number field must be set to 0 (no string) for this field to be valid.
Date the cell pack was manufactured, in packed format
Number of the string that identifies the battery chemistry (for example, “PbAc”) The Device Chemistry field must be set to 02h (Unknown) for this field to be valid.
Multiplication factor of the Design Capacity value, which assures that the mWatt hours value does not overflow for SBDS implementations
The multiplier default is 1, SBDS implementations use the value 10 to correspond to the data as returned from the SBDS Function 18h.
Contains OEM- or BIOS vendor-specific information
Trait Implementations
The SMBIOS structure type Read more
Creates a new instance of the implementing SMBIOS type
Contains the standard parts/sections of the implementing SMBIOS type.
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosPortableBattery<'a>
impl<'a> Send for SMBiosPortableBattery<'a>
impl<'a> Sync for SMBiosPortableBattery<'a>
impl<'a> Unpin for SMBiosPortableBattery<'a>
impl<'a> UnwindSafe for SMBiosPortableBattery<'a>