The keyboard goes to Auto Sleep Mode in 10 mins of sitting idle to save battery.
Hold fn+S+O for 3 seconds to disable the Auto Sleep Mode.
(If you want to go back to the Auto Sleep Mode, press fn+S+O (for 3 seconds) again.)
For more details, refer to the User Manual.