I would do a factory reset. Do not install and apps except updates. Charge till full before bedtime, turn on Bluetooth and wifi, make sure screen time out I'd at 30 seconds. Then set it down by bed. Check first thing in morning. Bet doze works l. If not take it back. Get a new one.