Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
upower history
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Meneth  
View profile  
 More options Nov 3 2012, 8:20 pm
Newsgroups: linux.debian.user
From: Meneth <men...@hotmail.com>
Date: Sun, 04 Nov 2012 01:20:01 +0100
Local: Sat, Nov 3 2012 8:20 pm
Subject: upower history
Hi!

On battery-powered devices such as laptops, upowerd stores power charge
and usage statistics in /var/lib/upower/.

On my old machine, (Ubuntu 10.10, upower 0.9.5), those logs went all the
way back to the time of OS installation, and that was good.

On my new machine, however, (Xubuntu 12.04, upower 0.9.15) all log
entries older than one week are deleted.

I've traced this behaviour to up-history.c, UpHistoryPrivate::max_data_age.

I'd like an option to keep power log entries forever.

I considered filing a bug directly with the maintainers [1], but was
discouraged by the extensive report process. Perhaps someone here can
help. :)

Thanks,
Meneth

[1] http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=upower

--
To UNSUBSCRIBE, email to debian-user-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/BLU0-SMTP193F6AB78D9EEE301D67DC5D0...@phx.gbl


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Bannister  
View profile  
 More options Nov 3 2012, 8:40 pm
Newsgroups: linux.debian.user
From: Chris Bannister <cbannis...@slingshot.co.nz>
Date: Sun, 04 Nov 2012 01:40:01 +0100
Local: Sat, Nov 3 2012 8:40 pm
Subject: Re: upower history

If you have a patch they should be jumping up and down for your bug
report. Can you run reportbug or not?

You might need to alter the smtp setting.

--
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the
oppressing." --- Malcolm X

--
To UNSUBSCRIBE, email to debian-user-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121104002225.GA32007@tal


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Meneth  
View profile  
 More options Nov 4 2012, 9:30 am
Newsgroups: linux.debian.user
From: Meneth <men...@hotmail.com>
Date: Sun, 04 Nov 2012 15:30:01 +0100
Local: Sun, Nov 4 2012 9:30 am
Subject: Re: upower history

Chris Bannister wrote:
> If you have a patch they should be jumping up and down for your bug
> report. Can you run reportbug or not?

> You might need to alter the smtp setting.

I don't have a patch. The only thing I've tried so far is commenting out
the section that culled old data. It seems to work, although files are
now written to /usr/local/var/ instead of /var/.

I rediscovered another bug; upowerd doesn't write data to disk on system
shutdown, leading to data loss. To reproduce:

* Run gnome-power-statistics to see the latest log entries.
* Run 'tail history-charge-*.dat' to see that the latest log entries
have not yet been written to disk.
* Quickly run 'sudo reboot now'.
* After the system has rebooted, run 'tail history-charge-*.dat' again
to see that no new log entries have been added.

I've never tried running reportbug before, but if you think it's a good
idea, I'll give it a try.

Thanks,
Meneth

--
To UNSUBSCRIBE, email to debian-user-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/BLU0-SMTP20286283FEDC823934E497D0...@phx.gbl


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian  
View profile  
 More options Nov 4 2012, 10:20 am
Newsgroups: linux.debian.user
From: Brian <a...@cityscape.co.uk>
Date: Sun, 04 Nov 2012 16:20:02 +0100
Local: Sun, Nov 4 2012 10:20 am
Subject: Re: upower history
On Sun 04 Nov 2012 at 15:06:42 +0100, Meneth wrote:

> I've never tried running reportbug before, but if you think it's a
> good idea, I'll give it a try.

reportbug is for reporting bugs in Debian packages. Your first mail
gives no indication you are using Debian.

--
To UNSUBSCRIBE, email to debian-user-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121104151917.GB6179@desktop


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lisi Reisz  
View profile  
 More options Nov 4 2012, 11:10 am
Newsgroups: linux.debian.user
From: Lisi Reisz <lisi.re...@gmail.com>
Date: Sun, 04 Nov 2012 17:10:02 +0100
Local: Sun, Nov 4 2012 11:10 am
Subject: Re: upower history
On Sunday 04 November 2012 15:19:17 Brian wrote:

> On Sun 04 Nov 2012 at 15:06:42 +0100, Meneth wrote:
> > I've never tried running reportbug before, but if you think it's a
> > good idea, I'll give it a try.

> reportbug is for reporting bugs in Debian packages. Your first mail
> gives no indication you are using Debian.

No - it says that he is using Xubuntu!  I wondered why he wanted to report
bugs in Xubuntu here. :-/

Lisi

--
To UNSUBSCRIBE, email to debian-user-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201211041602.43866.lisi.re...@gmail.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fredrik Eldh  
View profile  
 More options Nov 4 2012, 11:20 am
Newsgroups: linux.debian.user
From: Fredrik Eldh <fredrik_e...@nerdshack.com>
Date: Sun, 04 Nov 2012 17:20:02 +0100
Local: Sun, Nov 4 2012 11:20 am
Subject: Re: upower history

Brian wrote:
> reportbug is for reporting bugs in Debian packages. Your first mail
> gives no indication you are using Debian.

True, but I do use a Debian package.

By the way, I found the commit responsible for my problem:
http://cgit.freedesktop.org/upower/commit/?id=260e62d872f643334846950...

And its referenced bug:
https://bugzilla.redhat.com/show_bug.cgi?id=634228

--
To UNSUBSCRIBE, email to debian-user-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5096900C.2080...@nerdshack.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian  
View profile  
 More options Nov 4 2012, 11:40 am
Newsgroups: linux.debian.user
From: Brian <a...@cityscape.co.uk>
Date: Sun, 04 Nov 2012 17:40:02 +0100
Local: Sun, Nov 4 2012 11:40 am
Subject: Re: upower history
On Sun 04 Nov 2012 at 16:55:56 +0100, Fredrik Eldh wrote:

> Brian wrote:
> >reportbug is for reporting bugs in Debian packages. Your first mail
> >gives no indication you are using Debian.

> True, but I do use a Debian package.

Upower is a package which is in Debian. Whether it and the one in Ubuntu
are identical, I do not know. Do you?

On the whole you are better off reporting a bug in a package to the
distribution you obtained it from.

--
To UNSUBSCRIBE, email to debian-user-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121104163000.GD6179@desktop


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »