Skip to content

Instantly share code, notes, and snippets.

@svartalf
Created April 22, 2020 14:25
Show Gist options
  • Save svartalf/277eb663ef6182fc0a03728fec02c8fa to your computer and use it in GitHub Desktop.
Save svartalf/277eb663ef6182fc0a03728fec02c8fa to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>acpiacad0</key>
<array>
<dict>
<key>cur-value</key>
<integer>1</integer>
<key>description</key>
<string>connected</string>
<key>index</key>
<string>sensor0</string>
<key>monitoring-supported</key>
<false/>
<key>state</key>
<string>valid</string>
<key>type</key>
<string>Indicator</string>
</dict>
<dict>
<key>device-properties</key>
<dict>
<key>device-class</key>
<string>ac-adapter</string>
<key>refresh-timeout</key>
<integer>0x1e</integer>
</dict>
</dict>
</array>
<key>acpibat0</key>
<array>
<dict>
<key>cur-value</key>
<integer>1</integer>
<key>description</key>
<string>present</string>
<key>index</key>
<string>sensor0</string>
<key>monitoring-supported</key>
<false/>
<key>state</key>
<string>valid</string>
<key>type</key>
<string>Indicator</string>
</dict>
<dict>
<key>allow-rfact</key>
<false/>
<key>cur-value</key>
<integer>10000000</integer>
<key>description</key>
<string>design voltage</string>
<key>index</key>
<string>sensor1</string>
<key>monitoring-supported</key>
<false/>
<key>rfact</key>
<integer>0</integer>
<key>state</key>
<string>valid</string>
<key>type</key>
<string>Voltage DC</string>
</dict>
<dict>
<key>allow-rfact</key>
<false/>
<key>cur-value</key>
<integer>10000000</integer>
<key>description</key>
<string>voltage</string>
<key>index</key>
<string>sensor2</string>
<key>monitoring-supported</key>
<false/>
<key>rfact</key>
<integer>0</integer>
<key>state</key>
<string>valid</string>
<key>type</key>
<string>Voltage DC</string>
</dict>
<dict>
<key>cur-value</key>
<integer>50000000</integer>
<key>description</key>
<string>design cap</string>
<key>index</key>
<string>sensor3</string>
<key>monitoring-supported</key>
<false/>
<key>state</key>
<string>valid</string>
<key>type</key>
<string>Watt hour</string>
</dict>
<dict>
<key>cur-value</key>
<integer>50000000</integer>
<key>description</key>
<string>last full cap</string>
<key>index</key>
<string>sensor4</string>
<key>monitoring-supported</key>
<false/>
<key>state</key>
<string>valid</string>
<key>type</key>
<string>Watt hour</string>
</dict>
<dict>
<key>critical-capacity</key>
<integer>50000</integer>
<key>cur-value</key>
<integer>48500000</integer>
<key>description</key>
<string>charge</string>
<key>index</key>
<string>sensor5</string>
<key>max-value</key>
<integer>50000000</integer>
<key>monitoring-state-hw-range-limit</key>
<true/>
<key>monitoring-supported</key>
<true/>
<key>state</key>
<string>valid</string>
<key>type</key>
<string>Watt hour</string>
<key>want-percentage</key>
<true/>
<key>warning-capacity</key>
<integer>100000</integer>
</dict>
<dict>
<key>cur-value</key>
<integer>0</integer>
<key>description</key>
<string>charge rate</string>
<key>index</key>
<string>sensor6</string>
<key>monitoring-state-refresh-event</key>
<true/>
<key>monitoring-supported</key>
<false/>
<key>state</key>
<string>invalid</string>
<key>type</key>
<string>Watts</string>
</dict>
<dict>
<key>cur-value</key>
<integer>0</integer>
<key>description</key>
<string>discharge rate</string>
<key>index</key>
<string>sensor7</string>
<key>monitoring-state-refresh-event</key>
<true/>
<key>monitoring-supported</key>
<false/>
<key>state</key>
<string>invalid</string>
<key>type</key>
<string>Watts</string>
</dict>
<dict>
<key>cur-value</key>
<integer>0</integer>
<key>description</key>
<string>charging</string>
<key>index</key>
<string>sensor8</string>
<key>monitoring-supported</key>
<false/>
<key>state</key>
<string>valid</string>
<key>type</key>
<string>Battery charge</string>
</dict>
<dict>
<key>battery-capacity</key>
<string>NORMAL</string>
<key>cur-value</key>
<integer>1</integer>
<key>description</key>
<string>charge state</string>
<key>index</key>
<string>sensor9</string>
<key>monitoring-state-state-changed</key>
<true/>
<key>monitoring-supported</key>
<false/>
<key>state</key>
<string>valid</string>
<key>type</key>
<string>Battery capacity</string>
</dict>
<dict>
<key>device-properties</key>
<dict>
<key>device-class</key>
<string>battery</string>
<key>refresh-timeout</key>
<integer>0x1e</integer>
</dict>
</dict>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment