Argh, this explains some weird instances of negative power given to Wakelock usage. Realtime and uptime were switched in the parameter list, and since they're both longs, compiler was happy. Bug:22295225 Change-Id: I6759504f2690baf66af567d8b1a6d0478bc22228