Trying to delay script execution - does not work as expected

I’ve noticed the same – or used to be, cannot reproduce just now with

nohup sh -c 'while sleep 5; do date; done' &

… which raises interesting guestion – what version of SailfishOS are
you running – and could it have been changed before the latest version.

(i recall it was easy to reproduce and I recall w/ devel-su I could circumvent)

(for reference I found old log (2023-07-18) where I used sleep(5) in a python
program between polls to ‘/sys/class/power_supply/BAT0/current_now’:

'18/23:04:46' -302 mA
'18/23:04:56' -379 mA
'18/23:05:12' -465 mA
'18/23:05:21' -252 mA
'18/23:05:47' -197 mA

not exactly 5s – I rerun that prog to get results w/ current date and OS version, we’ll see in couple of hours, but not just now)

EDIT: (couple of hours later…) If not charging and screen shutdown, then the sleep “timeout” is ~6 times more than given, in both cases – with sleep(1) in shell script and with time.sleep() in python – have to try what that mce-tools next…