A power-managment model buitl with Atom (atom.io).