![]() |
Re: SailfishOS 2.0 on Nexus 5
Quote:
|
Re: SailfishOS 2.0 on Nexus 5
Quote:
|
Re: SailfishOS 2.0 on Nexus 5
Quote:
|
Re: SailfishOS 2.0 on Nexus 5
Quote:
|
Re: SailfishOS 2.0 on Nexus 5
Overly complex bit of script:
Code:
sensors_pid=$(ps aux | grep sensors.qcom | grep -v grep | awk '{print $2}')Code:
sensors_pid=$(ps ax | awk '/sensors.qcom$/{print $1}')Code:
cpu_usage=$(top -b -p $sensors_pid -n1 | grep $sensors_pid | awk '{print $9}')Code:
cpu_usage=$(top -b -p $sensors_pid -n1 | awk -v pid=$sensors_pid '$1 == pid {print $9}') |
Re: SailfishOS 2.0 on Nexus 5
even with a better blob, after a while, i still see a bigger memory usage of sensors.qcom
even more then 12 Mb after a day, and we start with 8 à 900 kb so still a memory hole somewhere. i was thinking to try with mixed sensors solution as mentioned in SailfishOS-HardwareAdaptationDevelopmentKit-1.1.1 chapter 13.9 https://github.com/mer-packages/sens...nsord-tbj.conf |
Re: SailfishOS 2.0 on Nexus 5
Quote:
But in general grep is faster than awk most of the times :) Quote:
Lets see if it will stop rising or not or if there is another solution. (There are several threads for Android about sensors.qcom memory usage) Quote:
|
Re: SailfishOS 2.0 on Nexus 5
Quote:
|
Re: SailfishOS 2.0 on Nexus 5
Hi,
I've a problem with the watchdog script. Yesterday night, my sensors were obviously crashed. I checked the systemd service and it was running. So, I see some possibilities:
Any idea? |
Re: SailfishOS 2.0 on Nexus 5
Did you start messwerk to see if it was still showing something for accelerometer or orientation? Maybe it was the effect I described before where lipstick lost orientation sensor capability.
Anyhow I advise everyone to stop using watchdog and just replace the sensors so file like described in my post. It works way better this way and running it for a couple of days I can clearly see an improved battery life. The memory leak thing is a minor issue in my opinion as it is not always doing it. I have a memory usage about 3 MB for 2 days already so its not even an issue always. I did not managed to track when and why the menory usage grows yet. |
| All times are GMT. The time now is 07:37. |
vBulletin® Version 3.8.8