aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-08-08 16:41:47 -0700
committerScott Jackson <daneren2005@gmail.com>2014-08-08 16:41:47 -0700
commit8ac7e0f2fec8f1ba475696b4d1bf2d7065eae2f9 (patch)
tree6afefa9b2862b937eb54000bf5a0ceccd7f2e09f /src/github
parent91a9bcb5fb4710793b3a1774dbc7e995e432173a (diff)
downloaddsub-8ac7e0f2fec8f1ba475696b4d1bf2d7065eae2f9.tar.gz
dsub-8ac7e0f2fec8f1ba475696b4d1bf2d7065eae2f9.tar.bz2
dsub-8ac7e0f2fec8f1ba475696b4d1bf2d7065eae2f9.zip
Lower wakelock time to hopefully improve on active battery usage
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java
index 250dcf37..5f58e7fa 100644
--- a/src/github/daneren2005/dsub/service/DownloadService.java
+++ b/src/github/daneren2005/dsub/service/DownloadService.java
@@ -1487,7 +1487,7 @@ public class DownloadService extends Service {
// Acquire a temporary wakelock, since when we return from
// this callback the MediaPlayer will release its wakelock
// and allow the device to go to sleep.
- wakeLock.acquire(60000);
+ wakeLock.acquire(30000);
setPlayerStateCompleted();