charge your phone in the room furthest from your bedroom. if safety is a concern, there are other solutions (e.g. dumb phone, alarm).