constructor(options) {
        super(options);

        this.level = options.level;
        this.flag = options.flag ?? BatteryStateAttribute.FLAG.NONE;
    }
@param {object} options
@param {number} options.level
@param {BatteryStateAttributeFlag} [options.flag]
@param {object} [options.metaData]