Fix wrong battery scale on linux
This commit is contained in:
@@ -329,9 +329,9 @@ namespace OpenVulkano
|
||||
{
|
||||
float value;
|
||||
powerSupplyFile >> value;
|
||||
return value;
|
||||
return value / 100.0f;
|
||||
}
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
void SystemInfo::EnableEnergyEvents()
|
||||
|
||||
Reference in New Issue
Block a user