fix: Add dummy information for battery cycles,health on FreeBSD
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);
|
||||
return {capacity, time / 60.0, status, rate};
|
||||
return {capacity, time / 60.0, status, rate, 0, 0.0F};
|
||||
|
||||
#elif defined(__linux__)
|
||||
uint32_t total_power = 0; // μW
|
||||
|
|
Loading…
Reference in New Issue