gao-sun / eul

🖥️ macOS status monitoring app written in SwiftUI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GUI shows incorrect (inverse?) battery health

Rob-Syndic opened this issue · comments

Describe the Bug
GUI shows 2% health while MacOS System Report shows 97%.

Expected Behavior
Should be at least in the same ballpark as the MacOS results

Screenshots
GUI:
Screen Shot 2022-08-21 at 1 46 18 PM

Apple sys report:
Screen Shot 2022-08-21 at 1 51 53 PM

Context

  • eul version: v1.2.3
  • macOS version: 12.5.1
  • Device model: MBP 14" (2021)

Debug Output

⚙️ loaded data from user defaults {
  "showTopActivities" : false,
  "networkRefreshRate" : 3,
  "showComponents" : true,
  "language" : "en",
  "activeComponents" : [
    "CPU",
    "Memory",
    "Battery"
  ],
  "showIcon" : true,
  "fontDesign" : "default",
  "availableComponents" : [
    "Network"
  ],
  "textDisplay" : "compact"
}
shell with ["route get 0.0.0.0 | grep interface | awk \'{print $2}\'"] 
shell with ["netstat -bI "] 
shell with ["route get 0.0.0.0 | grep interface | awk \'{print $2}\'"] 
shell with ["netstat -bI "] 
shell with ["route get 0.0.0.0 | grep interface | awk \'{print $2}\'"] 
shell with ["netstat -bI "] 

Is Related to a Crash?
N