src: user.c: Rename g_powerState to user_power_state