Author: richard
Date: Tue Mar 3 07:25:05 2009
New Revision: 4656
URL: http://svn.slimdevices.com/jive?rev=4656&view=rev
Log:
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.3/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua
Modified:
7.3/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua
URL:
http://svn.slimdevices.com/jive/7.3/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua?rev=4656&r1=4655&r2=4656&view=diff
==============================================================================
---
7.3/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua
(original)
+++
7.3/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua
Tue Mar 3 07:25:05 2009
@@ -1085,10 +1085,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