Fix wrong battery scale on linux

This commit is contained in:
Georg Hagen
2024-12-16 11:40:09 +01:00
parent 4262182f51
commit f8fadc0c81
2 changed files with 3 additions and 2 deletions

View File

@@ -329,9 +329,9 @@ namespace OpenVulkano
{
float value;
powerSupplyFile >> value;
return value;
return value / 100.0f;
}
return 0;
return -1;
}
void SystemInfo::EnableEnergyEvents()