Once your dog has finished a meal, have a look to see what they do. Studies have shown that dogs that go straight to you after eating are displaying obvious signs that they love you. They aren’t motivated by food or treats and are simply showing affection because they enjoy being close to you.
You're right, check out https://caninehq.com/do-dogs-know-if-you-accidentally-hurt-them/
They understand when you are sorry and will lick your hand to accept your apology.
not true in my case... whenever my dog slept with me, i felt more tired because he kept waking me up... i miss those times.