Patches for check_apc_ups.pl patch [sf#807122] [#210]