[Claptrap does not, strictly speaking, "sleep." It's not that he is pretending, either: this is just something that is in his programming, to sometimes turn into a little box and not do anything for awhile. Perhaps it's to make humans more at ease? He doesn't really think about it. Existential thoughts just make him depressed.
So, because he is not strictly sleeping, he doesn't have to physically awaken when some horrible, filthy animal gets all up in his personal space --]
Whoa! Strange mammal! [He doesn't want to get chewed on, so he stays in his box mode, though he does start to shake around a little bit. Menacingly. Hopefully this doesn't make him look like a toy?] Back off!
beckons
So, because he is not strictly sleeping, he doesn't have to physically awaken when some horrible, filthy animal gets all up in his personal space --]
Whoa! Strange mammal! [He doesn't want to get chewed on, so he stays in his box mode, though he does start to shake around a little bit. Menacingly. Hopefully this doesn't make him look like a toy?] Back off!