added chromium pepper flash det

- added chromium pepper flash detection
- added if exists /sys/class/power_supply/AC/online to suppress errors