def METHOD_NAME(self):
    now = datetime.datetime.now()
    if (now - self._last_notify_time).seconds > self.frequency:
        # Update last notified
        self._last_notify_time = now
        battery_level = self._get_battery_func()
        battery_percent = int(round(battery_level, 0))
        # Sometimes on wifi don't get batt
        if battery_level == -1.0:
            time.sleep(0.2)
            battery_level = self._get_battery_func()
        title = self._device_name
        message = "Battery is {0}%".format(battery_percent)
        icon = "battery-full"
        if battery_level == 0.0:
            # Do nothing
            pass
        elif battery_level <= 10.0:
            message = "Battery is low ({0}%). Please charge your device".format(battery_percent)
            icon = "battery-empty"
        elif battery_level <= 30.0:
            icon = "battery-low"
        elif battery_level <= 70.0:
            icon = "battery-good"
        elif battery_level == 100.0:
            message = "Battery is fully charged ({0}%)".format(battery_percent)
        if self._notify2:
            self._logger.debug("{0} Battery at {1}%".format(self._device_name, battery_percent))
            if battery_level <= self.percent:
                self._notification.update(summary=title, message=message, icon=icon)
                self._notification.show()