Code Monkey home page Code Monkey logo

battery-time-remaining's Introduction

Battery Time Remaining 2

Show the estimated battery time remaining on top of your screen in Mac OS X 10.8 Mountain Lion.

Normal mode Advanced mode

Why does this project exist?

Apple removed the option to show the battery time remaining in the statusbar since the Mountain Lion release. This App will do exactly that, show the battery time remaining on top of your screen.

How do I install it?

Three options:

  • Download from App Store
  • Download latest version, unzip and run the App
  • Download the source here from Github and compile it with XCode

Is it accurate?

The App shows the exact same time as you will see when you click the battery icon. The time is provided by Mac OS X itself and as accurate as you can get.

How do I contribute?

Fork this project, make some changes and submit a pull request. Check the issues tab for inspiration on what to fix. Please make sure your fork is the latest development version!

If you find any issues or have a feature request please contribute by submitting an issue here on Github!

If you would like to donate some bitcoins:

19H9hk9LgALN41msp67LYysLLyYN23q7Y4

Who did make this app?

App icon provided by happytel.com free calling for all.

Change log

2016-10-15 - v4.0 - diff

2016-10-15 - v1.8 - diff

2014-11-16 - v3.1 - diff

2014-10-28 - v3.0.1 - diff

2014-10-28 - v1.7.1 - diff

2014-10-18 - v1.7 - diff

  • Added support for OS X 10.10 Yosemite (codler #89)

2014-10-17 - v3.0 - diff

  • Added support for OS X 10.10 Yosemite (codler #89)

2014-01-02 - v2.1 - diff

2013-10-23 - v2.0.2 - diff

2013-10-23 - v1.6.5 - diff

2013-09-03 - v2.0.1 - diff

  • Added Hide time setting (codler)
  • Added Traditional Chinese Taiwan language (mlkh0225 #68)
  • Improved status bar, able to see both percentage and time as same time. (codler #65)
  • Fix bug not showing correct color on menu select (codler)
  • Fix bug not showing parenthesis when showing percentage (codler)

2013-09-03 - v1.6.4 - diff

  • Added Traditional Chinese Taiwan language (mlkh0225 #68)

2013-07-05 - v2.0 - diff

2013-06-30 - v1.6.3 - diff

2013-01-20 - v1.6.2 - diff

2012-11-01 - v1.6.1 - diff

2012-10-03 - v1.6 - diff

2012-08-29 - v1.5.2 - diff

2012-08-25 - v1.5.1 - diff

2012-08-19 - v1.5 - diff

2012-08-15 - v1.4 - diff

2012-08-12 - v1.3 - diff

  • Added check for updates (codler)
  • Display battery percentage left in menu (codler #6)

2012-08-09 - v1.2.1 (signed app) - diff

  • Added notifications (codler)
  • Added open energy saver preferences option (codler)

2012-08-08 - v1.2 (signed app) - diff

  • From now on the app will always be signed. (codler #3)
  • Added higher resolution app icon (codler)

2012-08-06 - v1.1.1 (unsigned app) - diff

2012-08-05 - v1.1 (unsigned app) - diff

2012-08-01 - v1.0 (unsigned app)

battery-time-remaining's People

Contributors

airdrummingfool avatar alexanderad avatar c-alpha avatar codler avatar danielmartin avatar ericbroska avatar frosas avatar guillaumealgis avatar johnnyslagle avatar mac-cain13 avatar mlkh0225 avatar mshulman avatar scruzphreak avatar vinky41 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

battery-time-remaining's Issues

feature

Now I paid another 0.89€ and still I can't see the remaining percentage AND Time?!
Please add this feature!

App notified me that there is an update, but there isn't

Just got a notification running App version 1.5 that there is an update, but 1.5 is the most recent version. So it looks like there is a little bug. Don't know when/why it was triggered btw!

Note that I'm running the build from the website and DID NOT create my own build. So that can't be the problem. :)

Icon after reboot

I see a little bug. When I reboot my mac, if I am on battery, during the first minute, the fully charged icon is displayed but only after one minute, I have the real icon (on battery) that displayed with the time remaining.

I reboot three times to test and it's the same thing at each times. I am the only one with this bug ?

Display time with parentheses

If I display time+percentage, the parentheses are around the time AND the percentage.

The best would be that the parentheses are only around the time remaining, isn't it ?

Gatekeeper

Hi there!

This app is solely made for Mountain Lion. I don't know how hard all this code signing stuff is, but it would make total sense for this app to get past Gatekeepers standard setup.

Yes, it's just two more clicks, but many users don't even know they can do this.

Charged text

When the icon is hidden and it is charged, nothing is shown. It would be great if the menu item would show something like "Charged" instead of just being a little invisible menu item.

no more 100%!! always charging

After installing Battery-Time-Remaining 1.5.1 I have problems with the complete charge of the battery!! Seems like it won't recognize when it's fully charged. It is always "Calculating" how long it takes until it's 100% and stucked at 5081 of 5133 mAh.
Some more information: Cycles: 43
Temperature 30,7°C

MacBook Pro 13" Mid 2012 - 2,5 GHz - 8Gb RAM

iStat, the Mac Os App and "SlimBatteryMonitor" having the same issue of not knowing when the battery charged to 100%.

Releasing the AC power adapter iStat changes to 100% followed by the Battery-Time-Remaining-App and SlimBatteryMonitor telling me that it full charged.

5133 of 5133 mAh and stuff.

When I plug in the power adapter again it turns green for a second and the different battery symbols show that, too. Just a second later everything turns into charging and calculating how long it takes to charge (without a result) and power adapter turns from green to orange.

Update: Fixed it using the SMC reset, but uninstalled the app before, so I can't tell if the SMC would have fixed the problem with the installed app.

MacBook Pro - forces use of discrete graphcis

MacBookPro10,1 (15" MacBook Pro; "Retina, Mid 2012")
OSX 10.9
Observing using the Activity Monitor→Energy→Graphics Card
(or using gfxCardStatus from http://gfx.io/)
Battery Time Remaining versions 2.0.1 and 1.6.4

When running Battery Time Remaining 2, the graphics card is forced into discrete mode. Attempting to push it back to integrated mode, gfxCardStatus indicates that Battery Time Remaining 2 is the reason it can't (see attached image).

Same behaviour for Battery Time Remaining 1.

Using the discrete graphics mode consumes more battery power.

image

PS: gfx.io recommends this article for review: https://developer.apple.com/library/mac/qa/qa1734/_index.html

v1.6.1 doesn't work on OS X 10.8.2

HI, just noticed that v1.6.1 doesn't work on OS X 10.8.2 (MBP Retina). But the previous versions worked very well. Thank you very much!

Please add ability to drag menu icon

Greetings. Really like the app, bought it in the App Store to support you.

It would be great if you added the ability to command-drag the icon to a new location. It doesn't seem to work now. Thanks.

My own TODO

Ill be more busy the coming weeks so I just add notes for myself what I have in my mind

  1. Add back white dropshadow in "1.5.2dev", Should always have setTemplate:YES except when battery are lower than 15% (in battery mode)
  2. Make batteryCharged icon black.
  3. Refactor 19,
    • remove EXTRA_TOP_OFFSET constant somehow
    • Decide if "Time display with brackets"-text should change to "Display time with brackets" or something else or okey as it is.
    • Naming convention of timeFormatSubmenuItem variable
    • thinking If showParenthesis should be removed or not and use timeFormatSubmenuItem.state as I do with kBTRMenuAdvanced state
  4. NSLocalizedString for the 2 ( 3 ) power source states.
  5. Last update language files
  6. Refactor - add #pragma mark - Events ?

How do we are supposed to contribute to this project?

This application is signed with a Developer ID. I do not own a Developer ID, so I cannot contribute to this project, since it does not compiles on my system.

I have disabled everything that is related to code signing, but making a pull request now would disable these options also in your project. How can I work on it?

Forcing Discrete Graphics Card

In Mac OS X 10.9, Battery Time Reminding 2 bought from the AppStore is forcing the use of the discrete graphics card on my Early 2013 Retina MacBook Pro. Any help?

Position of the time, the percentage and the icon

I think have the choice of the position of the icon, the percentage or the time would be a good thing, no ?

for example, if i want have the percentage | icon | time remaining, today, I can't.

All informations are, today, on the right of the icon.

The best would be to add an option like : "Put the percentage on the left" or "Put the time on the left", no ?

Not responding when resuming from sleep

Thank you for offering such a great app.
I found an issue, reporting below.

My environment is
Battery-Time-Remaining 1.6.1
on
OS X 10.8.2

When
Battery-Time-Remaining(BTR) is running
my macbookair resumes from sleep
ONLY IF the Power Source is changed
for example, Power Source was "AC Power", and it went sleep, then resuming from sleep with the Power Source "Battery Power". Or vice versa.

I see that at the very time when I reopen the macbookair, the login screen is shown with the BTR Power Source icon is the old one whose before it went sleep.
Then it takes about 10 seconds to get the latest status of the Power Source. During this, the rainbow wheel is spinning and I can't type my password to unlock.

So it's pretty annoying.

The fast resume is one of the important point of macbookair.

Thank you in advance for your work.

On OSX Mavericks, Battery Time Remaining 2 "Requires High Perf GPU"

OSX Mavericks battery menu shows that Battery Time Remaining 2 is a significant energy consumer, and Application Monitor claims that it requires a high performance GPU.

Battery Time Remaining v2.0.1

Mac OSX 10.9, 15-inch Late 2011 MacBook Pro.
About This Mac

Using Significant Energy
Using Significant Energy

Requires High Perf GPU
Requires High Perf GPU

Review code?

This is my first mac app and I only have taken a beginner Iphone course before so I dont know so deep in objective c, so I wonder

  • if someone with more expertise could check it has memory leaks ( or maybe teach how to check ) or do ARC take care of everything?
  • if the code can be optimized much arbitrary?

Add "Design Capacity" to the parameters

I thing Battery-Time-Remaining would be somewhat more complete if it could show the battery design capacity versus the actual capacity. Just like coconut battery does.

With this extension one would have a complete battery monitoring tool.

Many regards,

Guido

Translate notification's title

Could you translate notification's title in the language choosen ?

For example, translate "Battery Time Remaining" to "Temps de batterie restant" (in french or "Återstående batteritid" in Swedish) when the pop up appears ?

PS : A little error for the translation in french : "Source de courant" = "Source d'alimentation" and the source is not translated :( "PC Power" = "adapteur secteur"; "Battery power" = "batterie" and in french, we have one space before ":" ;) I can change the translated file if you want ?

PPS : I don't know if it's visible but I added a bug here : #11

Long shut-down time in ML 10.8.2

I've noticed that with Battery Time Remaining 1.6, ML takes about 10 seconds to shut-down on my MacBook Pro 5,5 2,26GHz Core 2 Duo 4 GB Ram with SSD.
By not starting the program, shut down in one second.

Enhancement Request: configurable font size

The original OS X battery icon uses a smaller font size than 12 points to save menu bar space.

Is it possible to add a menu item to set different font sizes like 12 points or 10 points?

Updated Italian localization

/* Percentage left menuitem */
"%ld %% left" = "%ld %% restante";

/* Advanced percentage left menuitem */
"%ld %% left ( %ld/%ld mAh )" = "%1$ld %% restante ( %2$ld/%3$ld mAh )";

/* Time remaining left notification */
"%1$ld:%2$02ld left (%3$ld%%)" = "%1$ld:%2$02ld restante (%3$ld%%)";

/* Update menuitem
 Update notification */
"A newer version is available" = "Una nuova versione è disponibile";

/* Advanced mode setting */
"Advanced mode" = "Modalità avanzata";

/* Calculating sidetext */
"Calculating…" = "Calcolo…";

/* Charged notification */
"Charged" = "Caricato";

/* Update menuitem */
"Checking for updates…" = "Ricerca aggiornamenti…";

/* Update menuitem */
"Could not check for updates" = "Non ci sono aggiornamenti";

/* Advanced battery info menuitem */
"Cycle count: %ld" = "Cicli: %ld";

/* Time display with parentheses setting */
"Display time with parentheses" = "Mostra tempo tra parentesi";

/* Open Energy Saver Preferences menuitem */
"Energy Saver Preferences…" = "Impostazioni Risparmio Energia";

/* Remaining menuitem */
"Loading…" = "Caricamento…";

/* Notification menuitem */
"Notifications" = "Notifiche";

/* Powersource menuitem */
"Power source: %@" = "Alimentazione : %@";

/* Powersource menuitem */
"Power source: Unknown" = "Alimentazione : Sconosciuta";

/* Advanced battery info menuitem */
"Power usage: %.2f Watt" = "Consumo: %.2f Watt";

/* Quit menuitem */
"Quit" = "Esci";

/* Settings menuitem */
"Settings" = "Opzioni";

/* Start at login setting */
"Start at login" = "Lancia all'avvio";

/* Advanced battery info menuitem */
"Temperature: %.1f°C" = "Temperatura: %.1f°C";

/* Update menuitem */
"Up to date" = "Aggiornato";

Setting unknown

Hi,

I see the new version: Very good ;) Good job.

I translated the french options, but when I checked with the english version, I see one option that don't exist in real : "On battery while last unplugged:" I only see the setting : "Time since unplugged:" it's an forgotten ?

Move icon

Is it possible to add suport for moving the element in the status-bar?

Battery icon was not properly created

When created icon for the program png images was not saved with transparent background. Therefore it looks bad in the application folder. See screen shot bellow:

I have created proper icon here. This icon was taken from iconfinder.com I have to note that for mac retina it will look desorted because of lack of 512x512 size.

I have found another image there and created icon as well. If should look good on any mac.

Also like to make a note. To make identical looking mac battery time you need to decrease font size on the time remaining.

Distribution channels?

Hi,

how do you distribute the app? If the MAS is the only distribution channel, why do you care about auto updates? The users will get notified via MAS.

requested feature: show percentage

Could you please add the feature of showing the remaining battery time not only as numbers, but as percentage as well. What I would like to see is the icon, the remaining battery time in numbers and the percentage all at the same time. That would be so great!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.