summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-12-03 08:41:59 +0000
committerRichard Hughes <richard@hughsie.com>2008-12-03 08:41:59 +0000
commit269d3abc8beb5ffb3f475097297bee4d5a6757f6 (patch)
tree2838be133cd2f1924cbc17ccec2292304515742d /src
parent03ef073b4e7c26bb71ae80ee088d05a9152cbae9 (diff)
bugfix: enable the low power saving code in DkpHistory
Diffstat (limited to 'src')
-rw-r--r--src/dkp-history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dkp-history.c b/src/dkp-history.c
index 1e556c7..d5e39cf 100644
--- a/src/dkp-history.c
+++ b/src/dkp-history.c
@@ -488,7 +488,7 @@ dkp_history_schedule_save (DkpHistory *history)
/* TODO: if low power, then don't batch up save requests */
ret = dkp_history_is_low_power (history);
- if (FALSE && ret) {
+ if (ret) {
egg_warning ("saving directly to disk as low power");
dkp_history_save_data (history);
return TRUE;