added memory for power state

stored in fram
enable bootloader