apm_available (1) Linux Manual Page
apm_available – test whether APM subsystem is available
Synopsis
apm_availableDescription
apm_available checks whether the APM ("Advanced Power Management") subsystem is available, as evidenced by the presence of the /proc/apm file.Options
None.Exit Status
0 (true) APM subsystem is available
1 (false) APM subsystem is not available
2 usage error (arguments supplied)
Files
/proc/apm APM status information file
