Not allowing the device to go asleep