ToastFreeware
/
gregoa
/
zavai.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
238194f
)
Zavai version works, reenable trying ousaged first
author
Enrico Zini
<enrico@enricozini.org>
Fri, 2 Oct 2009 15:18:43 +0000
(16:18 +0100)
committer
Enrico Zini
<enrico@enricozini.org>
Fri, 2 Oct 2009 15:18:43 +0000
(16:18 +0100)
src/app_power.vala
patch
|
blob
|
history
diff --git
a/src/app_power.vala
b/src/app_power.vala
index 11b33c8d69929517d721251ade6c5590eb1e723e..c1e0ec38c27cc303227834a5a3a0ff7fe42a690f 100644
(file)
--- a/
src/app_power.vala
+++ b/
src/app_power.vala
@@
-87,8
+87,9
@@
public class Power : zavai.Resource, Object
if (!done)
{
try {
- //usage.Suspend();
- //done = true;
+ usage.Suspend();
+ done = true;
+ zavai.log.info("Suspend was done with ousaged.");
} catch (Error e) {
zavai.log.error("Suspending phone with ousaged: " + e.message);
}
@@
-121,6
+122,7
@@
public class Power : zavai.Resource, Object
zavai.log.error("Cannot tell GSM to resume (but never mind): " + e.message);
}
done = true;
+ zavai.log.info("Suspend was done with zavai.");
}
}
public void do_shutdown()