fix: Add dummy information for battery cycles,health on FreeBSD
This commit is contained in:
parent
24690248db
commit
421ba6e31a
|
@ -234,7 +234,7 @@ const std::tuple<uint8_t, float, std::string, float, uint16_t, float> waybar::mo
|
||||||
}
|
}
|
||||||
|
|
||||||
// spdlog::info("{} {} {} {}", capacity,time,status,rate);
|
// spdlog::info("{} {} {} {}", capacity,time,status,rate);
|
||||||
return {capacity, time / 60.0, status, rate};
|
return {capacity, time / 60.0, status, rate, 0, 0.0F};
|
||||||
|
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__)
|
||||||
uint32_t total_power = 0; // μW
|
uint32_t total_power = 0; // μW
|
||||||
|
|
Loading…
Reference in New Issue