I would suppose that something could be written that could... well actually no I don't think you can, you aren't talking about something that is software/hardware related, you have a sensor that tells you your current charge but it doesn't CONTROL the charge. if his laptop is stopping at 80% his battery or some other portion of his charging hardware or reporting software is messed up.