Author: richard
Date: Tue Mar 3 07:29:14 2009
New Revision: 4658
URL: http://svn.slimdevices.com/jive?rev=4658&view=rev
Log:
r4...@harrypotter (orig r4656): richard | 2009-03-03 15:25:05 +0000
Bug: N/A
Description:
After a conversation we decided to turn off the wlan power saving when jive is
in the
active power state mode (when the screen is bright). This should improve
responsiveness,
at a slight cost to the battery life.
Modified:
7.4/trunk/ (props changed)
7.4/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua
Propchange: 7.4/trunk/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Tue Mar 3 07:29:14 2009
@@ -3,7 +3,7 @@
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.1/trunk:2920
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.2/trunk:2921
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.3/private-branches/jive-refresh:3653
-bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.3/trunk:4647
+bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.3/trunk:4656
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:2013
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/SN:1083
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/scrolling:1378
Modified:
7.4/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua
URL:
http://svn.slimdevices.com/jive/7.4/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua?rev=4658&r1=4657&r2=4658&view=diff
==============================================================================
---
7.4/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua
(original)
+++
7.4/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua
Tue Mar 3 07:29:14 2009
@@ -1099,10 +1099,16 @@
true)
end
- -- disable PS mode when on ac power, or the network and device or
+ -- disable PS mode when:
+ -- 1) on ac power
+ -- 2) the device is active
+ -- 3) the network is active
-- both active. when battery powered only disable PS mode when the
-- user is actively using the device.
- if self.acpower or self.networkActive then
+ if self.acpower or
+ self.powerState == "active" or
+ self.networkActive then
+
self.wireless:powerSave(false)
self._wlanPowerSaveTimer:stop()
else
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins