During the day, it sleeps and soaks up light. When night falls, it walks around looking for a safer place to sleep.
View This Pokémon's Entry on Bulbapedia: