Turn your phone into a bedside lamp + alarm clock that runs untouched the whole Shabbos. Set the times below — the screen dims through the night, flashes silently to wake you, and brightens for the morning.
The phone needs to stay on the whole night. Make sure these are set, because they can't be fixed once Shabbos starts.