Allow patterns to decide how much power to use.

power use of -1 indicates completion.
currently fill takes 25 mj, empty takes 200
todo: add config options (i dont know how)

this is in response to the chatter against commit e073bf604cece47c39bb3d1513beb0746ca3758e