powerd: Staticize global variables