fix: Add dummy information for battery cycles,health on FreeBSD

master
Kiri 2024-04-12 18:48:54 +02:00
parent 24690248db
commit 421ba6e31a
No known key found for this signature in database
GPG Key ID: F1BEE619CFF29825
1 changed files with 1 additions and 1 deletions

View File

@ -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