mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Power: Fix PowerState=STATUS for medium battery capacity
Due to backwards compatibility, medium will return the same value as high (4).
This commit is contained in:
parent
1cf0212e87
commit
9a473a6362
@ -152,9 +152,9 @@ PLUGIN_EXPORT double Update(void* data)
|
|||||||
{
|
{
|
||||||
return 3.0; // Low
|
return 3.0; // Low
|
||||||
}
|
}
|
||||||
else if (sps.BatteryFlag & 1)
|
else if (sps.BatteryFlag == 0 || sps.BatteryFlag & 1)
|
||||||
{
|
{
|
||||||
return 4.0; // High
|
return 4.0; // Medium/High
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user