Skip to content

Commit

Permalink
Version bump to v4.2.1-1
Browse files Browse the repository at this point in the history
  • Loading branch information
direc85 committed Dec 31, 2022
1 parent c1313dc commit 49d41ba
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion application/application.pro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TARGET = harbour-batterybuddy
CONFIG += console sailfishapp sailfishapp_i18n dbus

# Keep this in sync with service.pro and .spec
VERSION = 4.2.0-1
VERSION = 4.2.1-1

DEFINES += APP_VERSION=\"\\\"$$VERSION\\\"\"
DEFINES += APP_NAME=\"\\\"$$TARGET\\\"\"
Expand Down
3 changes: 3 additions & 0 deletions rpm/harbour-batterybuddy.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* Sun Jan 1 2023 Matti Viljanen (direc85) <[email protected]> 4.2.1-1
- Properly read and set values on first startup

* Sat Dec 31 2022 Matti Viljanen (direc85) <[email protected]> 4.2.0-1
- Add setting maximum charge current

Expand Down
2 changes: 1 addition & 1 deletion rpm/harbour-batterybuddy.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name: harbour-batterybuddy
# Change the version and release strings in .pro file only!

Summary: Battery Buddy
Version: 4.2.0
Version: 4.2.1
Release: 1
Group: Qt/Qt
License: GPLv3
Expand Down
2 changes: 1 addition & 1 deletion service/service.pro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ QT = core dbus
PKGCONFIG += nemonotifications-qt5

# Keep this in sync with application.pro and .spec
VERSION = 4.2.0-1
VERSION = 4.2.1-1

DEFINES += APP_VERSION=\"\\\"$$VERSION\\\"\"
DEFINES += APP_NAME=\"\\\"$$TARGET\\\"\"
Expand Down
2 changes: 1 addition & 1 deletion service/src/battery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ bool Battery::setChargingEnabled(const bool isEnabled) {

void Battery::setMaxChargeCurrent(int newCurrent) {
if(maxChargeCurrentFile) {
logM(QString("Setting max charging current to %1...").arg(newCurrent / 1000));
logM(QString("Max charging current: %1mA").arg(newCurrent / 1000));
if(newCurrent > maxSupportedChargeCurrent) {
newCurrent = maxSupportedChargeCurrent;
}
Expand Down

0 comments on commit 49d41ba

Please sign in to comment.