---
oid: "1.3.6.1.2.1.33.1.2.2"
short-description: "upsSecondsOnBattery OBJECT-TYPE"
last-modified: "2020-03-04"
parent-oid: "1.3.6.1.2.1.33.1.2"
---

## OID: `1.3.6.1.2.1.33.1.2.2`

```asn1
{iso(1) identified-organization(3) dod(6) internet(1) mgmt(2) mib-2(1) upsMIB(33) upsObjects(1) upsBattery(2) upsSecondsOnBattery(2)}
```

### Description

```asn1
upsSecondsOnBattery OBJECT-TYPE
SYNTAX NonNegativeInteger
UNITS "seconds"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"If the unit is on battery power, the elapsed time
since the UPS last switched to battery power, or the
time since the network management subsystem was last
restarted, whichever is less. Zero shall be returned
if the unit is not on battery power."
```

**Classification:** MIB object for network management

### Supplementary information

Automatically extracted from IETF [RFC 1628](https://www.rfc-editor.org/rfc/rfc1628.html).

### Child OIDs

No child OID

### Terms of Use

[Terms of use](https://oid-base.com/disclaimer.htm.md)

**Note to implementers:**: The OID repository is constantly updated but does not necessarily store the latest (or most accurate) version of this formal description. For an implementation, it is recommended to search the web for a more recent description. If this is the case, please update the above description.
