Creating a new battery profile

You normally run your laptop with one battery.  Then, for the first time since you installed Linux, you insert the second battery.
The discharge and charge profiles of the new combined battery have to be created from scratch, as we can't just use the single battery profile as it's no longer valid. This means your super-accurate profiled time-to-discharge reading gets reset to the default 2 hours until enough discharge and charge data has been automatically collected.

So, what about the following warning dialog? Flames / suggestions as comments please.


p.s. I still can't test the multi-battery code, I'm still looking for donors.

Published by


Richard has over 10 years of experience developing open source software. He is the maintainer of GNOME Software, PackageKit, GNOME Packagekit, GNOME Power Manager, GNOME Color Manager, colord, and UPower and also contributes to many other projects and opensource standards. Richard has three main areas of interest on the free desktop, color management, package management, and power management. Richard graduated a few years ago from the University of Surrey with a Masters in Electronics Engineering. He now works for Red Hat in the desktop group, and also manages a company selling open source calibration equipment. Richard's outside interests include taking photos and eating good food.

One thought on “Creating a new battery profile”

  1. Ditch the popup. They should only be displayed when something happens that a user can respond to (Windows guidelines, but they're sensible). Balloon: “Your battery meter is inaccurate” User: “So?” Popups are great and all, but their use really needs to be strictly controlled. I'd hate to see Gnome end up like Windows is. Question: If you have accurate battery readings for one battery but not the other, can't you just ignore the second battery until you have good readings? For example, suppose you can accurately predict that battery #1 is going to give you 2 hours of charge, but don't have enough information to predict battery #2 yet. In this situation, “2 hours” is at least partially accurate, as you can predict that you will get at least 2 hours of running. Or is prediction done over all batteries?

Comments are closed.