You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @kb100 . Thnx. I'll try to look into this tomorrow from my work laptop. My macbook doesn't respect my freedom enough to allow me to remove the battery to see what acpi returns.
It turns out, both my laptops are a bit weird in this area.
@kb100 could you tell me what the full output of the following commands is on your system when you have unplugged the battery and connected the charger?
Both acpi and acpi battery produce no output whatsoever when my battery is unplugged. Thus you need to account for if output is the empty string in your script. I would it expect it to be treated like the Unknown case.
@lathan
With my battery unplugged (laptop plugged into charger):
My
acpi battery
output is empty. Also note the extra space at the beginning of line 4.The text was updated successfully, but these errors were encountered: