Why don't computing devices protect themselves from physical harm?
For example, a notebook computer might complain that you have a drink nearby that could spill and ruin its circuitry.
A smartphone might scream if you drop it and cry from the "pain" of the impact. It could even operate more slowly for a few days as it "recovers" from the fall.
> For example, a notebook computer might complain that you have a drink nearby that could spill and ruin its circuitry.
Think about how a notebook might sense this situation -- when you have your answer you will have achieved enlightenment and know why they do not do this.
A notebook computer with sufficient sensors for what you envisage would no longer be light or portable, thus negating its usefulness.
Thinkpads, the water drains through the chassis. I've spilled half a cappuccino in one once. It was fine. I regretted not having half my coffee.
Because there are no legit self protection courses for computers. They all wind up going to a McDojo and learning techniques that just don't work.
Have you considered that giving computers this kind of ability is the first step in emboldening them to rise up against us?
Sounds like you're describing a next-gen Tamagotchi than a computer or mobile device.
What are you on and are you sharing?