battry-warn script for laptops