View Single Post
Posts: 236 | Thanked: 223 times | Joined on Apr 2011 @ switzerland
#76
Ok, so with the new one, everything in the GUI is ok, i can configure a profile and tell which one to use in active profile.

But, i still have some issue,.

I select the hdbat profile which i copied to /usr/share/power-kernel-settings.

Now, i reboot the phone and the profile is set properly.
I open the keyboard and lock/unlock the phone, the Profile is still the same.
Then i close the keyboard and lock/unlock the phone, now i have the stock nokia profile active. I can try whatever i want, but this profile stay active once it loads.

I made another test for the vfs pressure patch, i reload the hdbat profile and use this command to put a random value for vfs_pressure:
echo 1000 >> /proc/sys/vm/vfs_cache_pressure

now, with keyboard open and after lock/unlock the phone, i do this:
cat /proc/sys/vm/vfs_cache_pressure

result is 1000...

another test, i close the keyboard and lock/unlock the phone, then:
cat /proc/sys/vm/vfs_cache_pressure

result is 10 and stay at this value no matter what i do. Unless i reboot the phone.

I check which profile is active with the kernel-config show command.
Also, i am using karam's patch for the time being (this means, until i can make your script work ^^) and it works properly...

regards