T42_ | <adampigg> rinigus: hi, could you summaraise your recent work wrt suspend/mce ... the volla tablet i have is working well, mcetoos says there is 0 suspend, though, power drop over nigth is only 8% so not bad ... kernel does not have CONFIG_PM_AUTOSLEEP, so, i wonder if i need something new for hibernation.. | 07:55 |
---|---|---|
T42_ | <adampigg> or, i dont worry about it as the drop isnt too bad! | 07:55 |
rinigus | @adampigg: simplest is to add CONFIG_PM_AUTOSLEEP=y and add a new patch https://github.com/mer-hybris/hybris-patches/pull/33 | 12:53 |
rinigus | then you don't need to patch mce | 12:54 |
rinigus | I think this solution is the best right now | 12:54 |
T42_ | <adampigg> cool .. mal just told me they have to add autosleep also | 12:54 |
mal | I should try that patch on some devices | 12:55 |
T42_ | <adampigg> id have to get that patch into halium system image | 12:56 |
mal | rinigus: did you need to patch something else to get that into use, I mean use custom .rc file or something | 12:56 |
rinigus | mal: that's right. let me find it | 12:57 |
mal | for community devices that is needed but I think for devices built using the official way that probably goes to system side build | 12:58 |
rinigus | mal: you have to add `android.system.suspend-service` to make hybris-hal as an additional target | 12:58 |
rinigus | and add .rc https://github.com/sailfishos-sony-nagara/droid-config-sony-nagara/blob/main/sparse/usr/libexec/droid-hybris/system/etc/init/android.system.suspend-service.rc | 12:59 |
rinigus | @adampigg ^ | 12:59 |
T42_ | <adampigg> Looks like its already in the halium image : https://irc.thaodan.de/.imgstore/834f0ee7/file_7818.jpg | 13:01 |
T42_ | <adampigg> 3827 system {suspend@1.0-ser} /system/bin/hw/android.system.suspend@1.0-service | 13:01 |
T42_ | <adampigg> Looks like its running in the halium image already | 13:01 |
mal | @adampigg yes, you either patch halium image or do that hybris-hal way which is needed for community style builds | 13:02 |
mal | I wonder if missing handling of suspend service is causing some known issues | 13:02 |
mal | I have seen random issues with bluetooth for example which might be caused that the device is suspended and android side service tries to use it still | 13:03 |
T42_ | <adampigg> Woop, it slept | 13:16 |
T42_ | <adampigg> mcetool --get-suspend-stats | 13:16 |
T42_ | <adampigg> uptime: 254.672 | 13:16 |
T42_ | <adampigg> suspend_time: 32.297 | 13:16 |
T42_ | <adampigg> thats just with autsleep enabled | 13:16 |
rinigus | @adampigg: so, that patch is mainly to make sure that it goes to sleep when none of android services release it for that, in addition to classical wakelocks. | 13:18 |
T42_ | <adampigg> yeah, seems sane | 13:27 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!