diff --git a/views/battery_tab.php b/views/battery_tab.php
index 43ce418..51ed987 100644
--- a/views/battery_tab.php
+++ b/views/battery_tab.php
@@ -330,7 +330,7 @@
.append(battery_rows))));
}
// Only show and sort battery table if data exists
- else if (battery_rows !== "" && d.condition != "" && d.current_percent >= 25){
+ else if (battery_rows !== "" && d.condition != "" && d.current_percent < 50){
$('#battery-table')
.append($('
')
.append($('')
@@ -357,7 +357,6 @@
}
// Show that we have no battery data
else {
- console.log("her33e")
$('#battery-cnt').hide()
$('#battery-msg').text(i18n.t('no_data'));
}
diff --git a/views/power_adapter_wattage_widget.yml b/views/power_adapter_wattage_widget.yml
index 86c667b..67f6237 100755
--- a/views/power_adapter_wattage_widget.yml
+++ b/views/power_adapter_wattage_widget.yml
@@ -3,7 +3,7 @@ widget_id: power-adapter_wattage-widget
api_url: /module/power/get_wattage
i18n_title: power.adapter_wattage
icon: fa-plug
-listing_link: /show/listing/power/battery
+listing_link: /show/listing/power/batteries
search_key: wattage
badge: count
i18n_empty_result: no_data
\ No newline at end of file