The most common way is:

The alarm was just about to go off when I woke up
The alarm was about to go off when I woke up
The alarm was on the brink of going off when I woke up
The alarm was about to ring when I woke up
The alarm was about to sound when I woke up

For more phrases like this one: Everyday English phrases

For more idioms: Idioms

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *