Jump to content

Battery - view summary stats about your laptop battery

Recommended Posts

Opening Google search is just the "fallback" search, which means that the workflow failed to produce any usable results for Alfred.


This happened to me as well at some point with some upgrade. To fix it, just open the file battery.sh in the workflow and, around line 81, change

    <title>$TEMPERATURE° C</title>


    <title>${TEMPERATURE}° C</title>

So, probably some Yosemite upgrade changed a version of Bash, and that version of Bash chokes when the degree symbol is next to a variable.

Thanks, it works for me.

I'm still on OsX Maverick and add the problem with Alfred V3ß.

Link to comment
  • 8 months later...
  • 2 months later...
  • 2 years later...
8 hours ago, RabbitJazz said:

The battery % is inaccurate for me. Anyone knows how to sort this fix? (it's about 6% lower than what the os presents.


Please, post the output of ioreg -l -n AppleSmartBattery -r and the battery level displayed on your menu bar at the time of that output.

Edited by xilopaint
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...