In a particular embodiment, a storage device includes a controller that is
adapted to receive environmental data from a plurality of environmental
sensors, where the environmental data is related to an operating
environment of the storage device. Further, the controller is adapted to
receive state information related to the data storage medium from a
plurality of firmware detectors, to weight the received environmental
data and the received state information according to a pre-determined
weighting table, and to dynamically manage at least one attribute of the
storage device based on the weighted environmental data and the weighted
state information.