It is currently March 28th, 2024, 1:17 pm

PowerPlugin Status2 value of 9?

Get help with creating, editing & fixing problems with skins
Post Reply
hpgbproductions
Posts: 10
Joined: June 12th, 2018, 7:18 am

PowerPlugin Status2 value of 9?

Post by hpgbproductions »

Somehow I got a status2 value of 9 with PowerPlugin. How does this happen? I'm guessing that it added the states of 1 (high) and 8 (charging).

Image

Additionally, I tried to use Substitute to change this to text but it doesn't seem to work. Anything wrong with this part?

Code: Select all

[Status2Measure]
Measure=Plugin
Plugin=PowerPlugin
PowerState=Status2
UpdateDivider=16
Substitute="255":"UNKNOWN","128":"No Battery Detected","12":"Charging","10":Charging","9":"Charging","8":"Charging","4":"CRITICALLY LOW","2":"Low","1":"High","0":"Medium"
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5380
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: PowerPlugin Status2 value of 9?

Post by eclectic-tech »

You missed a quotation mark in the substitution line for the number 9:
Substitute="255":"UNKNOWN","128":"No Battery Detected","12":"Charging","10":[color=#FF0000]"[/color]Charging","9":"Charging","8":"Charging","4":"CRITICALLY LOW","2":"Low","1":"High","0":"Medium"
It happens to all of us!
Post Reply