Power plugin


Plugin=PowerPlugin measures power related information.

Options

General measure options
All general measure options are valid.
PowerState
Type of information to measure. Valid values are:
  • ACLine: 0 for battery or 1 when plugged in.
  • Status: 0 for no battery, 1 for charging, 2 for critical, 3 for low, or 4 for above low.
  • Status2: Equal to BatteryFlag in SYSTEM_POWER_STATUS.
  • Lifetime: Battery lifetime.
  • Percent: Battery lifetime as a percentage.
  • Hz: Current CPU frequency in Hz.
  • MHz: Current CPU frequency in MHz.
Note: Battery information may not be available with some laptops.
Format Default: %H:%M
Format of the time with PowerState=Lifetime. The syntax is the same as Time measures, although the string locale-time is not valid.

Example

[Rainmeter]
Update=1000
BackgroundMode=2
SolidColor=0,0,0,255

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

[MeterBatteryPercent]
Meter=String
MeasureName=MeasureBatteryPercent
X=5
Y=5
W=200
H=20
FontColor=255,255,255,255
Text=Battery left: %1