863 @WakeLock

adds @WakeLock annotation see #863 for details
OK, i see. This has also the benefit that we can easily use the named constants in the generated code.