Benzi Posted March 19, 2013 Posted March 19, 2013 (edited) Description: Shows summary information about your laptop battery (charge, time, status, charge cycles, and health - % of maximum charge your battery can now hold compared to its original design capacity) Usage: enter the keyword "battery" Tested on: Mountain Lion, MacBook Pro Download: from here Edited April 19, 2017 by Benzi Fixed download link pavel, thec13, jesused and 17 others 19 1
harringg Posted March 20, 2013 Posted March 20, 2013 Awesome! Allows me to remove the battery icon from menu bar. On 13" MBP, menu bar space is precious. Thanks
GamerChase Posted March 20, 2013 Posted March 20, 2013 Description: Shows summary information about your laptop battery (charge, time, status, charge cycles, and health - % of maximum charge your battery can now hold compared to its original design capacity) Usage: enter the keyword "battery" Tested on: Mountain Lion, MacBook Pro Download: from here Dude this is awesome
GamerChase Posted March 20, 2013 Posted March 20, 2013 Awesome! Allows me to remove the battery icon from menu bar. On 13" MBP, menu bar space is precious. Thanks I'm particular about my menu bar as well. Have you checked out Bartender to keep it tidy? thec13 1
rice.shawn Posted March 21, 2013 Posted March 21, 2013 This is great. And I'll second GamerChase on Bartender. It's a must have. thec13 1
Benzi Posted March 22, 2013 Author Posted March 22, 2013 Hi All, thanks for all the positive feedback! glad this is useful...
iEnno Posted March 23, 2013 Posted March 23, 2013 Thanks man, I can delete a Dashboard Widget now Doing this via Alfred is so much cooler. Benzi 1
hzlzh Posted March 23, 2013 Posted March 23, 2013 Hi, I've added your workflow to the [Alfred Workflow List Website] to share with more users. Hope you like it. http://www.alfredworkflow.com/#Battery
Benzi Posted March 26, 2013 Author Posted March 26, 2013 Hi, I've added your workflow to the [Alfred Workflow List Website] to share with more users. Hope you like it. http://www.alfredworkflow.com/#Battery Great initiative for sharing/discovering workflows :-) I added a couple more of my workflows in there.
Net Wanderer Posted March 26, 2013 Posted March 26, 2013 This works more smoothly than the extension I was using in V1, thanks! Benzi 1
Benzi Posted September 20, 2013 Author Posted September 20, 2013 A little update after a long time - added temperature reading, serial number and battery age. Did some work updating the icons too. Download via here. thec13 1
RYE Posted September 20, 2013 Posted September 20, 2013 Very nice -- I've ditched another menu bar item. Thanks!
Benzi Posted October 10, 2013 Author Posted October 10, 2013 I can't seem to get this workflow running. It hangs at "..., retrieving..." Any suggestions? Hi there, if possible could you run the following command in Terminal and PM me the output? ioreg -l -n AppleSmartBattery -r Bhishan 1
nschirmer Posted March 31, 2014 Posted March 31, 2014 This looks great and, assuming it's still running, I'm definitely going to install it. I have a question: is it at all possible to tap into the "Apps using the most energy/battery" and display the top two with this workflow, too? That's really the only use the menu bar battery icon still has for me, personally. I know you can also more or less just use the activity monitor for such a thing, but I thought it worth asking.
lazaracus Posted February 18, 2015 Posted February 18, 2015 Great workflow! Keep the awesome up! Question: what theme is being used in that image?
mixterdee Posted April 5, 2015 Posted April 5, 2015 Has this stopped working? If I select it it tries to start a Google search.
nschirmer Posted April 5, 2015 Posted April 5, 2015 Has this stopped working? If I select it it tries to start a Google search. Seems to still be working for me. I've had that happen a lot with other workflows, though. Eventually I learned to open the Workflows preferences, select the workflow in question, and click the spider icon on the top right to enable debug output (and changing the dropdown in the console to "All Information"). Then I trigger alfred, type the workflow keyword, and see what information it outputs in that console area. Helps me see if the workflow is bugging or even being triggered at all.
rice.shawn Posted April 5, 2015 Posted April 5, 2015 Has this stopped working? If I select it it tries to start a Google search. 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> <subtitle>Temperature</subtitle> <icon>temp.png</icon> </item> to <title>${TEMPERATURE}° C</title> <subtitle>Temperature</subtitle> <icon>temp.png</icon> </item> 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. Grug and mixterdee 2
mixterdee Posted April 6, 2015 Posted April 6, 2015 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> <subtitle>Temperature</subtitle> <icon>temp.png</icon> </item> to <title>${TEMPERATURE}° C</title> <subtitle>Temperature</subtitle> <icon>temp.png</icon> </item> 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, that fixed it for me.
Grug Posted May 9, 2016 Posted May 9, 2016 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> <subtitle>Temperature</subtitle> <icon>temp.png</icon> </item> to <title>${TEMPERATURE}° C</title> <subtitle>Temperature</subtitle> <icon>temp.png</icon> </item> 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ß.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now