Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Overzealous suspend everything watchdog [workaround included]

    Reply
    Page 6 of 6 | Prev |   4     5   6 |
    Ozymandias | # 51 | 2014-06-10, 06:46 | Report

    I wanted to check whether my early suspend was still in place after the update, so I just set the policy to disabled, expecting double-tap not to work and to work again after setting it to early, thus proving that early was in effect.

    To my surprise, suddenly double-tap works with suspend policy set to disabled. Now what... should I set it to disabled or to early? (My concern was unavailability through internet messengers when Jolla goes to sleep.)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    javispedro | # 52 | 2014-06-11, 09:49 | Report

    I saw this mentioned on the changelog of a recent update, so it's no surprise

    Technically "early" will still put some peripherals in low power mode, but not the cpu.

    Thus "disabled" may use more battery.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Ozymandias | # 53 | 2014-06-11, 10:03 | Report

    Ok, thanks for the info. Trying out "disabled" now to see how much battery it consumes.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    w00t | # 54 | 2014-06-16, 00:55 | Report

    Originally Posted by tanghus View Post
    I just been hit by this with my very simple Kitchen Timer app.

    Does that mean I will have to include the entire source tree of libiphb in my project because it's not white-listed in harbour?
    Assuming you're timing intervals/countdowns (at least I assume that's what a kitchen timer would be doing..) try looking at clock_gettime with a clk_id of 'CLOCK_BOOTTIME'. That's probably the simplest solution.

    Still to be investigated is whether we can move QElapsedTimer and friends to use this: it's a nice theory, but at least earlier we ran into all sorts of quirks, probably thanks to a kernel bug that made CLOCK_BOOTTIME sometimes _not_ monotonic (hooray). That's since been fixed, but we haven't yet gone back to this on the middleware side.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 6 of 6 | Prev |   4     5   6 |
vBulletin® Version 3.8.8
Normal Logout