c#,windows,winapi,power-management,powermanager
After hours of searching the Internet, finally I had to settle for the MSDN documentation. According to MSDN for XP we have : Global User Power Policy : Contains global user power policy settings that apply to all power schemes for a user. Global Machine Power Policy : Contains global...
c#,winapi,power-management,win32-process
There are some unmanaged APIs that can help with this, specifically ShutdownBlockReasonCreate and ShutdownBlockReasonDestroy. Its important to note that these two functions must be paired, when you call one, you have to make sure you call the other one (for example, in the event of an exception), otherwise the shutdown...
linux-kernel,arm,power-management,cpu-cache
What is clean? Clean, in ARM Cortex-A documents, usually means a flush (write dirty cache lines to next level). It is only valid for Dcache or unified caches. Some times we need both clean and invalidate (clear the cache). This is important if some other entity (bus master/peripheral) may...
android,screen,power-management,wakelock
Best solution is to keep screen on. Add android:keepScreenOn="true" in your layout XML resource for this activity. So long as that widget is visible on the screen, the screen will not turn off automatically. Also use the permission: <uses-permission android:name="android.permission.WAKE_LOCK" /> ...