Power consumption

Library and 3 examples added