Well, when I was on LibreELEC on a NUC, the “Turn off display when idle” had a huge impact on the CPU. I mean, Kodi didn’t have to “draw” anything then…
I still haven’t got any answer why this option isn’t available. For me that a better thing then the “fake suspend”…
Turning off the display is basically DPMS. It’s important to notice that features on a PC will differ to other devices.
I worked on a small screen saver which turns off the display. You could download this and set the screensaver to any interval. When it runs it will send no signal to your TV. It could be patched further to turn the TV off via CEC
Just to put this into context, I plugged the Vero into my digital power meter today, and once boot-up had settled down, with the Kodi home screen showing on my TV, the Vero was drawing a mighty 2.7W. Based on my electricity tariff per kWh, that works out at around 32p/month for non-stop stand-by use. During playback, power draw was in the region of 3 - 4 W (my blu ray player would be much more). On powering down the Vero, power consumption dropped to 1.3W. So regular use of a suspend mode could indeed save me some money, but it’s going to take a while to save up for those new speakers
If the suspend mode helps keep my AVR in stand-by that will save me a few more pennies, every little helps.
Also, can I put in a plug for retaining network connectivity in suspend mode - my Vero remote has never been out of its wrapper, as I mainly use the Kodi app on my iPad.
The main request for this feature is the TMDS clock being shut down. I am very much behind this feature. Some users also like the idea of being able to standby.
I can bring down the power consumption a little bit more, but I think it’s safe to say that stopping network activity won’t be one of these methods.
When testing my keymap changes for a one-key standby, I found that waking from suspend disables the regular screensaver for me.
I have the screensaver set for one minute, so it’s easy to see that it doesn’t kick in after suspend/wake has happened at least once. The only way that appears to fix it is to change something in the screensaver config.
Seems that way. I was stomped for a couple of weeks why Screensaver works sometimes and sometimes not. Only now it has occurred to me that once I reboot the device because the ui is sluggish the Screensaver works until the next suspend.
The only way to get the screensaver to kick in normally without a Kodi restart is to change a setting on the screensaver and save it. Even if the “change” is the same value, this seems to work. So, perhaps you could do this in code upon resume…just fetch the screensaver timeout value, and set it right back with the same value.
If that doesn’t work, you could fetch the timeout, set the timeout to the fetched value plus one, then set it again to the fetched value.
After a quick look over, it’s possible that the issue stems from failing to reset m_bScreenSave, a member state variable used to check whether the screensaver is active.
I’d appreciate it if you could test this and provide feedback before we potentially release this as an update to other users. To test this update:
Add the following line: deb http://apt.osmc.tv stretch-devel main
Run the following commands to update: sudo apt-get update && sudo apt-get dist-upgrade && reboot
Your system should have have received the update.
Please see if the issue is resolved.
I also recommend you edit /etc/apt/sources.list again and remove the line that you added after updating. This will return you to the normal update channel.
This fixed the screensaver not starting after wake-up, but introduced a new bug.
Now, sometimes 2 key presses are required to wake up the Vero 4K. The skin I use has “Suspend” on a widget (as well as the menu), so I can see that the second key press wakes up the system and isn’t swallowed. I used “OK”, then “right arrow”, and the next item in the widget was highlighted when the Vero woke up.
The real problem is that two presses of “OK” cause the Vero to wake up and immediately suspend again, as the second “OK” isn’t swallowed, and activates the “Suspend” again.