Skip to content

Commit

Permalink
Merge pull request matryer#1455 from tonglil/patch-2
Browse files Browse the repository at this point in the history
Update for macbook pro 16 inch
  • Loading branch information
matryer authored Dec 11, 2020
2 parents 12c8af4 + 36a302f commit 54e952b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion System/Battery/watt-meter.20s.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
"high": 70,
"low": 30
}
},
6: {
"MacBook Pro": {
"high": 80,
"low": 30
}
}
}

Expand Down Expand Up @@ -70,7 +76,7 @@ def main():
if impact == "high":
color = "red"
refresh_interval = sys.argv[0].split('.')[2]
print("%.1fW| color=%s size=12" % (machine['current_watt'], color))
print("%.1fW | color=%s" % (machine['current_watt'], color))
print("---")
print("Refresh (current interval: %s) | refresh=true" % refresh_interval)

Expand Down

0 comments on commit 54e952b

Please sign in to comment.