This question has options. Is the word "sleep" used in the same way in the following two sentences?

He felt better after a little sleep.

They had to put their family pet to sleep.

Pick from: (i). different meanings (ii). the same meaning
(i).