2024-02-16 20:58:14 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <filesystem>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace dlore
|
|
|
|
{
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
std::string Manufacturer;
|
|
|
|
std::string Model;
|
|
|
|
std::string Technology;
|
|
|
|
unsigned int CellSeriesCount;
|
|
|
|
unsigned int Capacity;
|
2024-06-18 13:14:59 +02:00
|
|
|
unsigned int CapacityDesign;
|
2024-02-16 20:58:14 +01:00
|
|
|
float Vnow;
|
|
|
|
float Vmin;
|
|
|
|
unsigned int ChargeNow;
|
|
|
|
unsigned int ChargeFull;
|
2024-06-18 13:14:59 +02:00
|
|
|
unsigned int ChargeFullPercentageDesign;
|
2024-02-16 20:58:14 +01:00
|
|
|
unsigned int ChargeFullDesign;
|
|
|
|
} typedef BatteryInfo;
|
|
|
|
|
|
|
|
BatteryInfo GetBatteryInfo(std::filesystem::path classPath);
|
|
|
|
}
|