Update copyrights
This commit is contained in:
parent
21fbc4a046
commit
cc52212eb5
15 changed files with 63 additions and 14 deletions
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Battery Buddy, a Sailfish application to prolong battery lifetime
|
||||
*
|
||||
* Copyright (C) 2019 Matti Viljanen
|
||||
* Copyright (C) 2019-2020 Matti Viljanen
|
||||
*
|
||||
* Battery Buddy is free software: you can redistribute it and/or modify it under the terms of the
|
||||
* GNU General Public License as published by the Free Software Foundation, either version 3 of the
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Battery Buddy, a Sailfish application to prolong battery lifetime
|
||||
*
|
||||
* Copyright (C) 2019 Matti Viljanen
|
||||
* Copyright (C) 2019-2020 Matti Viljanen
|
||||
*
|
||||
* Battery Buddy is free software: you can redistribute it and/or modify it under the terms of the
|
||||
* GNU General Public License as published by the Free Software Foundation, either version 3 of the
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Battery Buddy, a Sailfish application to prolong battery lifetime
|
||||
*
|
||||
* Copyright (C) 2019 Matti Viljanen
|
||||
* Copyright (C) 2019-2020 Matti Viljanen
|
||||
*
|
||||
* Battery Buddy is free software: you can redistribute it and/or modify it under the terms of the
|
||||
* GNU General Public License as published by the Free Software Foundation, either version 3 of the
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Battery Buddy, a Sailfish application to prolong battery lifetime
|
||||
*
|
||||
* Copyright (C) 2019 Matti Viljanen
|
||||
* Copyright (C) 2019-2020 Matti Viljanen
|
||||
*
|
||||
* Battery Buddy is free software: you can redistribute it and/or modify it under the terms of the
|
||||
* GNU General Public License as published by the Free Software Foundation, either version 3 of the
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Battery Buddy, a Sailfish application to prolong battery lifetime
|
||||
*
|
||||
* Copyright (C) 2019 Matti Viljanen
|
||||
* Copyright (C) 2019-2020 Matti Viljanen
|
||||
*
|
||||
* Battery Buddy is free software: you can redistribute it and/or modify it under the terms of the
|
||||
* GNU General Public License as published by the Free Software Foundation, either version 3 of the
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Battery Buddy, a Sailfish application to prolong battery lifetime
|
||||
*
|
||||
* Copyright (C) 2019 Matti Viljanen
|
||||
* Copyright (C) 2019-2020 Matti Viljanen
|
||||
*
|
||||
* Battery Buddy is free software: you can redistribute it and/or modify it under the terms of the
|
||||
* GNU General Public License as published by the Free Software Foundation, either version 3 of the
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Battery Buddy, a Sailfish application to prolong battery lifetime
|
||||
*
|
||||
* Copyright (C) 2019 Matti Viljanen
|
||||
* Copyright (C) 2019-2020 Matti Viljanen
|
||||
*
|
||||
* Battery Buddy is free software: you can redistribute it and/or modify it under the terms of the
|
||||
* GNU General Public License as published by the Free Software Foundation, either version 3 of the
|
||||
|
|
|
@ -1,4 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Battery Buddy, a Sailfish application to prolong battery lifetime
|
||||
#
|
||||
# Copyright (C) 2019-2020 Matti Viljanen
|
||||
#
|
||||
# Battery Buddy is free software: you can redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License as published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# Battery Buddy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
#
|
||||
# See the GNU General Public License for more details. You should have received a copy of the GNU
|
||||
# General Public License along with CarBudget. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Author: Matti Viljanen
|
||||
|
||||
chmod 644 /sys/class/power_supply/battery/input_suspend 2>/dev/null
|
||||
chmod 644 /sys/class/power_supply/battery/charging_enabled 2>/dev/null
|
||||
chmod 644 /sys/class/power_supply/usb/charger_disable 2>/dev/null
|
||||
|
|
|
@ -1,6 +1,21 @@
|
|||
# Battery Buddy, a Sailfish application to prolong battery lifetime
|
||||
#
|
||||
# Copyright (C) 2019-2020 Matti Viljanen
|
||||
#
|
||||
# Battery Buddy is free software: you can redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License as published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# Battery Buddy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
#
|
||||
# See the GNU General Public License for more details. You should have received a copy of the GNU
|
||||
# General Public License along with CarBudget. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Author: Matti Viljanen
|
||||
|
||||
[Unit]
|
||||
Description=Allow user nemo to write to charging control file
|
||||
#After=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
|
|
@ -1,4 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Battery Buddy, a Sailfish application to prolong battery lifetime
|
||||
#
|
||||
# Copyright (C) 2019-2020 Matti Viljanen
|
||||
#
|
||||
# Battery Buddy is free software: you can redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License as published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# Battery Buddy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
#
|
||||
# See the GNU General Public License for more details. You should have received a copy of the GNU
|
||||
# General Public License along with CarBudget. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Author: Matti Viljanen
|
||||
|
||||
chmod 666 /sys/class/power_supply/battery/input_suspend 2>/dev/null
|
||||
chmod 666 /sys/class/power_supply/battery/charging_enabled 2>/dev/null
|
||||
chmod 666 /sys/class/power_supply/usb/charger_disable 2>/dev/null
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Battery Buddy, a Sailfish application to prolong battery lifetime
|
||||
*
|
||||
* Copyright (C) 2019 Matti Viljanen
|
||||
* Copyright (C) 2019-2020 Matti Viljanen
|
||||
*
|
||||
* Battery Buddy is free software: you can redistribute it and/or modify it under the terms of the
|
||||
* GNU General Public License as published by the Free Software Foundation, either version 3 of the
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#ifndef BATTERY_H
|
||||
#define BATTERY_H
|
||||
/**
|
||||
* Battery Buddy, a Sailfish application to prolong battery lifetime
|
||||
*
|
||||
|
@ -17,6 +15,8 @@
|
|||
*
|
||||
* Author: Matti Viljanen
|
||||
*/
|
||||
#ifndef BATTERY_H
|
||||
#define BATTERY_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Battery Buddy, a Sailfish application to prolong battery lifetime
|
||||
*
|
||||
* Copyright (C) 2019 Matti Viljanen
|
||||
* Copyright (C) 2019-2020 Matti Viljanen
|
||||
*
|
||||
* Battery Buddy is free software: you can redistribute it and/or modify it under the terms of the
|
||||
* GNU General Public License as published by the Free Software Foundation, either version 3 of the
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Battery Buddy, a Sailfish application to prolong battery lifetime
|
||||
*
|
||||
* Copyright (C) 2019 Matti Viljanen
|
||||
* Copyright (C) 2019-2020 Matti Viljanen
|
||||
*
|
||||
* Battery Buddy is free software: you can redistribute it and/or modify it under the terms of the
|
||||
* GNU General Public License as published by the Free Software Foundation, either version 3 of the
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Battery Buddy, a Sailfish application to prolong battery lifetime
|
||||
*
|
||||
* Copyright (C) 2019 Matti Viljanen
|
||||
* Copyright (C) 2019-2020 Matti Viljanen
|
||||
*
|
||||
* Battery Buddy is free software: you can redistribute it and/or modify it under the terms of the
|
||||
* GNU General Public License as published by the Free Software Foundation, either version 3 of the
|
||||
|
|
Loading…
Reference in a new issue