Uses up power while travelling

Bug #378221 reported by Robert Collins
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Confirmed
High
Unassigned

Bug Description

I saw the ubuntu1 daemon causing 5% of wakeups, or thereabouts, while I was travelling recently; battery power is precious, please not to be wasting it. I wasn't doing anything with nautilus or u1 during this time.

Related branches

Revision history for this message
John Lenton (chipaca) wrote :

Please reassign as appropriate.

Changed in ubuntuone-client:
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Lucio Torre (lucio.torre)
John Lenton (chipaca)
tags: added: chicharra
Revision history for this message
Rick McBride (rmcbride) wrote :

we should try to get power status from Power Manager (or the equivalent) and do things differently when on battery than when on Mains. For instance, sync should be a manual thing. Possibly this could be configurable as well (if, for instance the user places priority on sync rather than battery life.

Similar to the power profiles that can be set...

Changed in ubuntuone-client:
importance: Medium → High
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 378221] Re: uses up power while travelling

On Thu, 2009-06-11 at 18:14 +0000, Rick McBride wrote:
> we should try to get power status from Power Manager (or the equivalent)
> and do things differently when on battery than when on Mains. For
> instance, sync should be a manual thing. Possibly this could be
> configurable as well (if, for instance the user places priority on sync
> rather than battery life.
>
> Similar to the power profiles that can be set...

When I observed this behaviour I had no network either. No matter the
priority on sync, with no network and no UI open on the ubuntu one
shares its hard to justify 5% of wakeups from the syncdaemon.

I agree that there may be a need to let people choose what they want;
however I think it would be nicer to just choose good defaults before
worrying about customisation.

-Rob

Revision history for this message
Rick McBride (rmcbride) wrote :

Robert Collins wrote:
> On Thu, 2009-06-11 at 18:14 +0000, Rick McBride wrote:
>> we should try to get power status from Power Manager (or the equivalent)
>> and do things differently when on battery than when on Mains. For
>> instance, sync should be a manual thing. Possibly this could be
>> configurable as well (if, for instance the user places priority on sync
>> rather than battery life.
>>
>> Similar to the power profiles that can be set...
>
> When I observed this behaviour I had no network either. No matter the
> priority on sync, with no network and no UI open on the ubuntu one
> shares its hard to justify 5% of wakeups from the syncdaemon.
>
> I agree that there may be a need to let people choose what they want;
> however I think it would be nicer to just choose good defaults before
> worrying about customisation.
>
> -Rob
>

Agreed. Good defaults come first, and customization later.

Revision history for this message
Khashayar Naderehvandi (khashayar) wrote :

I'm currently spotting 10 wakeups/sec for ubuntuone-synced and 10 wakeups/sec for ubuntuone-client, when idle.

Dropbox, as a comparison (since it's the only similar application that I know of), only causes nautilus to show 10 wakeups/sec, and this is only if the nautilus plugin is being used. The dropbox daemon itself shows <1 wakeup/sec here.

Note that even without the nautilus plugin, the daemon works as it should. The only drawback is that there are no emblems used in nautilus under the Dropbox directory.

Elliot Murphy (statik)
tags: added: ubuntuone-love
Revision history for this message
Qball Cow (qball-qballcow) wrote :

It is one wakeup per second for ubuntuone-client and ubuntuone-synced here. (it sais 10, but its interval is 10s).

Why does it wake up more then once per second to begin with? I cannot see a reason for this. (FS can be monitored using inotify or eq and i highly doubt it checks the online part is queried that often. )

John Lenton (chipaca)
Changed in ubuntuone-client:
status: Triaged → In Progress
assignee: Lucio Torre (lucio.torre) → John Lenton (chipaca)
Revision history for this message
Paul Sladen (sladen) wrote :

Rick re: "we should try to do things differently when on battery than when on Mains".

If I'm living on a boat, my "mains" is just a bunch more batteries (admittedly bigger ones); if the wind hasn't blown, or the sun hasn't shone, there might not be very much of it! ...If it's possible to avoid doing something on battery in order to save power, it's probably possible to avoid doing it on mains too! (Which saves energy, reduces heat output and allows more power to be diverted to recharging the laptop's internal batteries).

John Lenton (chipaca)
Changed in ubuntuone-client:
status: In Progress → Fix Committed
Revision history for this message
Ritz (jonas-ritz) wrote :

Agree..
We don't need 2 different profiles for batteries and for mains.
We need one effective profile that works all time. (We have to start thinking a bit green)
If all wakeups are send thru the network to the servers it also causes more load on the servers.
If not...they are not needed

Paul (paul-peters)
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
papukaija (papukaija)
tags: added: ubuntu-unr
papukaija (papukaija)
tags: added: karmic lucid
Revision history for this message
papukaija (papukaija) wrote :

Is there any updates with this bug?

tags: added: ubuntu-une
removed: ubuntu-unr
summary: - uses up power while travelling
+ Uses up power while travelling
dobey (dobey)
Changed in ubuntuone-client:
status: Fix Committed → Confirmed
tags: removed: karmic
Revision history for this message
Leo Arias (elopio) wrote :

Hi Rodney,

I see a commit linked to this bug report, and it should have been released a while ago. So I don't know why you returned it to confirmed. I'll mark it as fix released, but feel free to reopen it telling us why :)

pura vida.

Changed in ubuntuone-client:
status: Confirmed → Fix Released
Revision history for this message
dobey (dobey) wrote :

Leo, yes there was a commit a long time ago. However, it did not fix the problem, and actually made it much worse. That change was reverted very shortly after it landed. However, this is a known issue with twisted, and there are several reports on the problem. This should probably be marked as a duplicate of one of the others. It is fixed in twisted trunk, and should make it into Precise, and we will backport the fix for older versions of Ubuntu, once it is.

Changed in ubuntuone-client:
assignee: John Lenton (chipaca) → nobody
status: Fix Released → Confirmed
dobey (dobey)
tags: added: probabledup twisted
removed: chicharra lucid ubuntu-une ubuntuone-love
Revision history for this message
Leo Arias (elopio) wrote :

Great, thanks for the explanation Rodney.
If I find the other reports I'll mark it as duplicate.

Hug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.