Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not charging state for battery #161

Open
carlasif opened this issue Jan 12, 2024 · 0 comments
Open

not charging state for battery #161

carlasif opened this issue Jan 12, 2024 · 0 comments

Comments

@carlasif
Copy link

i found this code on internet for charging state and tried to incorporate it in your skin but couldn't as i am a beginner. so gope you can incorporate this code in battery tracker.

[Rainmeter]
DynamicWindowSize=1

[MeasureBatteryPluggedIn]
Measure=Plugin
Plugin=PowerPlugin
PowerState=ACLine
Substitute="0":"On battery","1":"Plugged in"

[MeasureBatteryCharging]
Measure=Plugin
Plugin=PowerPlugin
PowerState=Status
Substitute="0":"no battery","1":"charging","2":"not charging","3":"not charging","4":"not charging"

[MeasureBatteryPercent]
Measure=Plugin
Plugin=PowerPlugin
PowerState=Percent

[String]
Meter=String
MeasureName=MeasureBatteryPluggedIn
MeasureName2=MeasureBatteryCharging
MeasureName3=MeasureBatteryPercent
Text=%1, %2. (%3%)
SolidColor=0,0,0,217
FontColor=255,255,255
FontSize=20
FontFace=Segoe UI
StringStyle=Bold
AntiAlias=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant