opticharger: fix some ascii implements

Change-Id: Iac1dfebfbebdc8e94c38fb14ef8430fcf91a4aee