Am Freitag, 1. Mai 2015, 07:52:43 schrieb Anton Aylward:
[...] For those of us that never turn off our computers (be they laptops, workstations or tablets) is there 'throttling'?
I know when I wake up my tablet there's a slight delay then I get told its connected to my wifi and bluetooth. So when the screen shits down _ some delay those get turned off.
Some mobile OS shut down WiFi if there is a cellular connection available. Keeping two connections to the internet while being idle is wasteful and the cellular connection is needed anyway for incoming calls.
Well that makes sense for tablets and phones.
This smartphone and tablet "throttling" needs explicit application support: http://www.kandroid.org/online-pdk/guide/power_management.html When developing a mobile app you have many "new" things to consider in contrast to a desktop application. For example, your app must be ready for being shutdown or swapped out at any time automatically. Or it must deal with frequent loss of WiFi or cellular connectivity. You should use push notifications instead of polling or a permanent TCP connection.
Does it make sense for laptops? Workstations?
It would, but every single applications must support such an aggressive power management.
Those might be 'servers' or might need to run cron jobs.
Android OS has an built-in AlarmManager that is used for running code at a specific time: http://developer.android.com/reference/android/app/AlarmManager.html However, the OS shifts alarms if that would minimize wakeups and battery use.
So is throttling and 'on-demand' more useful? Throttle back after midnight ...
The only way I can think about for normal laptops and workstations is to activate all the runtime power management, suspend on idle, WoL to resume when needed, and rtcwake for regular cron jobs.
Of course any 'activity', keyboard, mouse, other, will need to wake it up.
Well, here, only some keys wakeup my laptop. Gruß Jan -- Life is tough, life is tougher when you're stupid. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org