Sensors underpin modern life, but many still rely on disposable batteries which are contributing to a growing waste problem.