Silicon as a lithium battery