Need an option to disable snapshots while on battery

Bug #388178 reported by Ryan Thompson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Back In Time
Fix Released
Wishlist
Richard Bailey

Bug Description

Making frequent snapshots is not an effective use of battery power. There should be an option to disable snapshots except when the computer is plugged in. A checkbox on the schedule tab would be fine.

Related branches

Revision history for this message
Ryan Thompson (rct86) wrote :

Incidentally, this can easily be set up in the crontab, by changing it to something like this:

*/5 * * * * if on_ac_power; then nice -n ionice -c3 19 /usr/bin/backintime --backup-job >/dev/null 2>&1; fi

Revision history for this message
Cyberdude (gabor-sunseaker) wrote :

I agree. It would be nice if this was a check box within BiT GUI.

Revision history for this message
Ryan Thompson (rct86) wrote :

Correction: that should be:

*/5 * * * * if on_ac_power; then nice -n 19 ionice -c3 /usr/bin/backintime --backup-job >/dev/null 2>&1; fi

Revision history for this message
Richard Bailey (rmjb) wrote :

Some systems don't return the proper status for 'on_ac_power'. This is something that has to be kept in mind.

So far my system always says it's not on A/C power.

Revision history for this message
Richard Bailey (rmjb) wrote :

I'm working on a patch for this feature.

Changed in backintime:
assignee: nobody → Richard Bailey (rmjb)
status: New → In Progress
Richard Bailey (rmjb)
Changed in backintime:
importance: Undecided → Wishlist
status: In Progress → Fix Committed
Dan (danleweb)
Changed in backintime:
status: Fix Committed → Fix Released
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.