Author: remi
Date: 2009-06-24 09:45:57 +0200 (Wed, 24 Jun 2009)
New Revision: 4881

Modified:
   
software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/01_resourceWIUser01.py
Log:
* updated battery level threshold for "high" state

Modified: 
software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/01_resourceWIUser01.py
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/01_resourceWIUser01.py
  2009-06-24 07:44:48 UTC (rev 4880)
+++ 
software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/01_resourceWIUser01.py
  2009-06-24 07:45:57 UTC (rev 4881)
@@ -45,7 +45,7 @@
                 batteryState = "empty"
             elif (rndVal >= 4995) and (rndVal <= 5328):
                 batteryState = "low"
-            elif (rndVal > 5328) and (rndVal <= 5994):
+            elif (rndVal > 5328) and (rndVal <= 5661):
                 batteryState = "middle"
             else:
                 batteryState = "high"


------------------------------------------------------------------------------
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to