Closed ribico closed 7 years ago
I verified that the battery drain was mainly related to a high update rate of values. There was a little bug in Souliss deadband, expressed in % of the current value. When the value was close to zero, the deadband was very small and messages to update the value were sent continuously to the app. This was draining the battery a lot. On the other hand we realized that a big network as mine is anyway communicating a lot with SApp.. so perhaps with a big network is always a good idea to keep services disabled, unless your device is permanently connected to the mains.
I am experiencing battery drain since long time. I tested it on different mobile phones but any time I enable services SApp is taking more than 20% battery consumption on my phone. I have 17 nodes and 117 items... not sure if it is related to that. At the moment I dropped my DB and I am testing the demo environment with services enabled. After few hours, SApp battery consumption was reduced from 22% to 17%.. I will keep an eye on this but is seems to be related to the network dimension or something specific of my home network.