example.platform.power/src/example/platform/power/ExamplePlatformKernel.java
public void activateWakelock(WakeLock lock, long duration)
    {
        WakeLocks newLock = new WakeLocks(lock, System.currentTimeMillis(), duration);
        m_ActiveLocks.add(newLock);
    }
/**
     * Activates a {@link WakeLock} for a given duration
     * @param lock
     *      the lock to activate
     * @param duration
     *      the duration to activate, in milliseconds
     */
Activates a  WakeLock for a given duration
@param lock
the lock to activate
@param duration
the duration to activate, in milliseconds
Activates a WakeLock for a given duration @param lock the lock to activate @param duration the duration to activate in milliseconds
public void activateWakelock(WakeLock lock, long duration)
    {
        WakeLocks newLock = new WakeLocks(lock, System.currentTimeMillis(), duration);
        m_ActiveLocks.add(newLock);
    }
public void activateWakelock ( WakeLock lock , long duration ) { WakeLocks newLock = new WakeLocks ( lock , System . currentTimeMillis ( ) , duration ) ; m_ActiveLocks . add ( newLock ) ; }
Activates a {@link WakeLock} for a given duration
 @param lock
      the lock to activate
 @param duration
      the duration to activate, in milliseconds
Activates a { @link WakeLock } for a given duration @param lock the lock to activate @param duration the duration to activate in milliseconds