Benzi Posted March 19, 2013 Share 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 mklement0, Weaselboy, thec13 and 16 others 19 Link to comment
samvlu Posted March 19, 2013 Share Posted March 19, 2013 Awesome work! I love the icons too. Link to comment
DJay Posted March 19, 2013 Share Posted March 19, 2013 WOW. Really great and helpful. thx a lot. Link to comment
harringg Posted March 20, 2013 Share Posted March 20, 2013 Awesome! Allows me to remove the battery icon from menu bar. On 13" MBP, menu bar space is precious. Thanks Link to comment
GamerChase Posted March 20, 2013 Share 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 Link to comment
GamerChase Posted March 20, 2013 Share 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 Link to comment
rice.shawn Posted March 21, 2013 Share Posted March 21, 2013 This is great. And I'll second GamerChase on Bartender. It's a must have. thec13 1 Link to comment
Benzi Posted March 22, 2013 Author Share Posted March 22, 2013 Hi All, thanks for all the positive feedback! glad this is useful... Link to comment
iEnno Posted March 23, 2013 Share Posted March 23, 2013 Thanks man, I can delete a Dashboard Widget now Doing this via Alfred is so much cooler. Benzi 1 Link to comment
hzlzh Posted March 23, 2013 Share 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 Link to comment
Benzi Posted March 26, 2013 Author Share 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. Link to comment
Net Wanderer Posted March 26, 2013 Share Posted March 26, 2013 This works more smoothly than the extension I was using in V1, thanks! Benzi 1 Link to comment
Weaselboy Posted March 26, 2013 Share Posted March 26, 2013 Really slick work Benzi! Thanks Benzi 1 Link to comment
Benzi Posted September 20, 2013 Author Share 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 Link to comment
RYE Posted September 20, 2013 Share Posted September 20, 2013 Very nice -- I've ditched another menu bar item. Thanks! Link to comment
Benzi Posted October 10, 2013 Author Share 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 Link to comment
nschirmer Posted March 31, 2014 Share 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. Link to comment
lazaracus Posted February 18, 2015 Share Posted February 18, 2015 Great workflow! Keep the awesome up! Question: what theme is being used in that image? Link to comment
mixterdee Posted April 5, 2015 Share Posted April 5, 2015 Has this stopped working? If I select it it tries to start a Google search. Link to comment
nschirmer Posted April 5, 2015 Share 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. Link to comment
rice.shawn Posted April 5, 2015 Share 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 Link to comment
mixterdee Posted April 6, 2015 Share 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. Link to comment
Grug Posted May 9, 2016 Share 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ß. Link to comment
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