Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: codler/Battery-Time-Remaining
base: v1.0
head fork: codler/Battery-Time-Remaining
compare: v1.6
Commits on Aug 05, 2012
@mac-cain13 mac-cain13 Removed special chars in statusbar and cleaned up the code a bit
- Removed special chars around the message in the menubar
- Call IOPSGetTimeRemainingEstimate() only once
- Added comments
- Using more properties to improve readability
@mac-cain13 mac-cain13 Added a simple readme for Github 4699d8d
@mac-cain13 mac-cain13 Fixed contibutors 97fffdd
@mac-cain13 mac-cain13 Added start at login option 0fedc7c
@mac-cain13 mac-cain13 Changed texts when full and when calculating
- Calculcating => Calculating…
- Unlimited => ∞
@mac-cain13 mac-cain13 Update 411060d
@mac-cain13 mac-cain13 Also display time until fully charged
also updated copyright notice in info plist
@mac-cain13 mac-cain13 Using the Apple battery icon
We now show the Apple battery icon in the menubar
@mac-cain13 mac-cain13 Fixed stupid mistake where the icon was not correctly zit 183f926
@mac-cain13 mac-cain13 Install instructions update
also added links to contributors and how to contribute
@codler Display correct charge time and make the battery icon show a bar indi…
…cating battery left.
@mac-cain13 mac-cain13 Tuned dynamic fill of the icon
Made the fill rect somewhat smaller, so it looks somewhat more like the Apple battery and doesn't feel to large anymore.
@mac-cain13 mac-cain13 Added an icon dae315e
@codler Merge pull request #2 from mac-cain13/pullbranch
Tuned dynamic fill of the icon
Commits on Aug 06, 2012
@codler Remove MainMenu.xib a525f0f
@codler Minor text change a15c524
@codler Fix bug after removed MainMenu.xib 8a90d7e
Commits on Aug 08, 2012
@codler Code signing app, add higher resolution icon (512x512@2x) and gitignore 205fc51
Commits on Aug 09, 2012
@codler Added notifications 6600b80
@codler Added link to open Energy Saver Preferences in menu e66ed72
@codler Fix plist bug aef4a5f
Commits on Aug 10, 2012
@codler Added change log 9cf2339
Commits on Aug 12, 2012
@codler Notify user when a newer version of the app is available 39573ee
@codler Showing battery percentage left in menu and improved some code c31186f
@codler Update change log 4885e5e
Commits on Aug 14, 2012
@codler Sandboxing start at login (#4) dfc2e6b
@codler Sandboxing start at login (#4) a540686
@codler Show a better icon when calculating battery left and improved "Charge…
…d" notification
@codler Open home url when clicking on "newer version available" notification 26d62b6
Commits on Aug 15, 2012
@codler Update change log 6746f4a
@mac-cain13 mac-cain13 Removed old startup code
and ignore DS_Store files.
@mac-cain13 mac-cain13 Changed credentials file to something more relevant 42395fc
@mac-cain13 mac-cain13 I18N-ed the App so people can start translating it! c0436dc
@mac-cain13 mac-cain13 Localized the App so it's available in Dutch. 9be6fee
Commits on Aug 16, 2012
@codler Merge pull request #9 from mac-cain13/master
Localized the App to Dutch (and some other small tweaks)
@codler Remove sandbox Preprocessor Directives a1ef557
@codler Spelling correction f6f27f3
@codler Improved i18n 1fb5ac1
@codler Update Dutch localization 48c68ca
@codler Added Swedish translation fb106ce
@codler Display same bundle name for all languages 75e881c
@codler Convert Localizable.strings to UTF-16 480ca6a
Commits on Aug 17, 2012
@codler Refactor code 5db71a8
@codler Added advanced mode section where it will show more detailed battery …
…info. mAh, Watt and cycle count.
@codler Put notification menu in advanced mode 0e3bc1d
@codler Update English and Swedish localization efba8a2
Commits on Aug 18, 2012
@codler Show notification menu when advanced mode are not supported 96f9efa
@codler Split advanced battery info menu item to several rows and added batte…
…ry temperature info
@codler Update English and Swedish localization 5b457ca
@mac-cain13 mac-cain13 Up to date Dutch translation d78b31a
Commits on Aug 19, 2012
@codler Merge pull request #10 from mac-cain13/master
As requested; Up to date Dutch translation!
@codler Invert color on battery icon when highlighted (#8) 49555ae
@codler Smaller font size in menubar as in original (#12) 62cf3b2
@codler Make the higher resolution icon transparent (#11) 9c0b8b6
@codler Update readme 0344d7c
Commits on Aug 20, 2012
@codler Fix issue #13, a bug on battery icon in retina display 2639476
Commits on Aug 22, 2012
@guillaume-algis guillaume-algis Draw white shadow underneath menubar icon. Closes issue #5. 0144fb4
@guillaume-algis guillaume-algis Add French localization 208d662
@codler Merge pull request #16 from guillaume-algis/master
Draw white shadow underneath menubar icon
@codler Remove duplicate build files and set Localizable.strings to UTF-16 3ce984b
@codler Change back to "BatteryCharged" a9113f4
Commits on Aug 24, 2012
Velines German localization 6e74477
@codler Merge pull request #18 from Velines/master
German localization
@codler Convert to UTF-16 13c1764
@c-alpha c-alpha Changed look to match old Apple battery gauge exactly.
Images are loaded only once at startup and cached.
@c-alpha c-alpha Changed look to match old Apple battery gauge exactly.
Images are loaded only once at startup and cached.
@c-alpha c-alpha Merge branch 'master' of…

	Battery Time Remaining/AppDelegate.m
Commits on Aug 25, 2012
@codler Update change log 3740da1
@c-alpha c-alpha Fixed blurry battery icon on hi-re displays.
Added setting for switching parentheses around time remaining on and off.
Moved all settings (incl. "advanced") to a submenu.
Added German and French localizations for new menu items.
TODO: Swedish and Dutch localizations missing.
@c-alpha c-alpha don't let the capacity bar get too small too quickly caa8293
@codler Merge pull request #19 from c-alpha/master
Updated look & feel
Commits on Aug 26, 2012
@codler Refactor 9102c77
@codler Fix "_NSWarnForDrawingImageWithNoCurrentContext" warning in log 6a60429
@Vinky41 Vinky41 Update Battery Time Remaining/fr.lproj/Localizable.strings
translation improved
@codler Merge pull request #21 from Vinky41/patch-1
Update Battery Time Remaining/fr.lproj/Localizable.strings
@codler Refactor 2d7b8ed
Commits on Aug 27, 2012
@codler Correct spelling 3539871
@codler Update English and Swedish localization 7c9bd61
Velines Updated German localization 20a31fc
@guillaume-algis guillaume-algis As requested; Updated French localization 4741d37
@codler Merge pull request #25 from Velines/master
Updated German localization
@codler Merge pull request #27 from guillaume-algis/master
Updated French localization
@c-alpha c-alpha use setTemplate: to get white shadow when capacity bar is not red ff6259d
@codler Merge pull request #28 from c-alpha/master
Re-introduce white shadow using setTemplate:
@codler Fix reference image bug d28c0a2
@codler Change variable name e6c2da8
Commits on Aug 28, 2012
@codler check for updates switch 01c4f9f
@codler Show app version in menu b9fb586
Commits on Aug 29, 2012
@codler Update Dutch localization, thanks @mac-cain13 a0fa025
@codler Update Slovak localization, #34 80c2f80
@codler Update readme fc81961
@codler Append 512x512 icon 87662e4
Commits on Aug 31, 2012
@scruzphreak scruzphreak Update
Fixed a couple of typos
Michael Shulman Another edit to the readme 3483a0f
@codler Merge pull request #35 from scruzphreak/master
Fixed two typos in the readme
Commits on Sep 03, 2012
alamilar Added Polish Localization c5cc3e2
Commits on Sep 04, 2012
@codler Merge pull request #38 from alamilar/master
Added Polish localization
@codler Added Portuguese localization, thanks dvm 433e3d8
@codler Remove InfoPlist.strings 63e67e3
@codler Fix memory leaks cd8e05c
@codler Fix #20, translate notification title a0532db
@codler Fix #26, make powersource states translatable 78a51b4
@codler Update English and Swedish localization 872c07f
@codler Fix zero padding in time remaining left notification in localization 2f7f4ba
Commits on Sep 05, 2012
@codler Correct spelling 0ee3948
Commits on Sep 13, 2012
@codler Add license 5451fb2
Commits on Sep 25, 2012
@codler Added Simplified Chinese localization, thanks @zhangwen590 the great! 0ee45aa
@codler #11 New app icon provided by @dizel247 c7a415b
@codler Option + click for advanced mode dd1651e
@codler Updates menu info every 5 seconds when menu is open. 1cabf59
@codler Improved option + click 8dab232
@codler Fix #29, make "batteryCharged" icon black 4d0ce73
Commits on Sep 26, 2012
@codler Fix #22, state after reboot 28443a6
Commits on Oct 03, 2012
@codler Update readme 4150e24