From: Chris Ferron <chris.e.ferron at linux.intel.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] Any way to show HH:MM for time left instead of just minutes?
Date: Mon, 14 May 2012 10:44:05 -0700 [thread overview]
Message-ID: <4FB14465.7040902@linux.intel.com> (raw)
In-Reply-To: CAEoL4DPSsmxeCL6ubn7ao9_+22QsNDfSqkpJGvthK8mFwKfvyA@mail.gmail.com
[-- Attachment #1: Type: text/plain, Size: 1326 bytes --]
On 05/12/2012 07:07 PM, corrupt wrote:
> You're absolutely right.
> I don't know C++ very well, but I was able to make an amateur patch
> that does this.
>
> If anyone wants the patch, here it is (it converts time left to HH:MM
> on the display): http://pastebin.com/raw.php?i=Df2ttb9e
>
Hi,
Thanks for the patch. Next time just include the patch in the mail,
but for this time I applied it manually.
-Chris
> On Sat, May 12, 2012 at 6:03 PM, Kok, Auke-jan H
> <auke-jan.h.kok(a)intel.com <mailto:auke-jan.h.kok(a)intel.com>> wrote:
>
>
>
> On Sat, May 12, 2012 at 5:58 PM, corrupt <corrupt(a)gmail.com
> <mailto:corrupt(a)gmail.com>> wrote:
>
> I just upgraded to Powertop 2.0 and I'm frankly I'm
> disappointed with the new interface.
>
> It shows how many minutes there is left on my battery (267
> minutes), which is kind of odd that it's not in HH:MM format
> like the previous versions.
>
> Any way to change this?
>
> You could write a patch that divides the amount of minutes by 60,
> and changes the display!
>
> Cheers,
>
> Auke
>
>
>
>
>
> _______________________________________________
> PowerTop mailing list
> PowerTop(a)lists.01.org
> https://lists.01.org/mailman/listinfo/powertop
next reply other threads:[~2012-05-14 17:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-14 17:44 Chris Ferron [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-05-13 2:44 [Powertop] Any way to show HH:MM for time left instead of just minutes? Arjan van de Ven
2012-05-13 2:07 corrupt
2012-05-13 1:03 Kok, Auke-jan H
2012-05-13 0:58 corrupt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FB14465.7040902@linux.intel.com \
--to=powertop@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.